On a sandbox, login as admin1. Make sure you have the 'test' project, with the Git tool, mounted at 'code'. If not, adjust the following instructions for your project name and git mount point.
Now browse to your fork at /u/admin1/code. Click the Request Merge button. Complete the form and submit. You'll be redirected to a page detailing your merge request.
You can do these same steps for a Mercurial repo, although there are functional tests to cover both Git and Mercurial.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in the tests, r.forms[0].submit().follow() would be the detail view for a merge request right? We should also test the /merge-requests/ list view. And a status change save if you're ambitious.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
there are two tables of commits on that page, which seems duplicative, unless I'm missing something. The only difference I can see is that the top table has a "Tree" link
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
forge:tv/2689
On a sandbox, login as admin1. Make sure you have the 'test' project, with the Git tool, mounted at 'code'. If not, adjust the following instructions for your project name and git mount point.
$ cd ~
$ git clone /git/p/test/code test-code
$ cd test-code
$ echo readme >> readme
$ git add .
$ git ci -m 'Added readmre.'
$ git push origin master
Now browse to /p/test/code. Click the Fork button and fork the repo to your user project, with repo name 'code'. Now commit to your fork:
$ cd ~
$ git clone /git/u/admin1/code admin1-code
$ cd admin1-code
$ echo documentation >> docs
$ git add .
$ git ci -m 'Added docs.'
$ git push origin master
Now browse to your fork at /u/admin1/code. Click the Request Merge button. Complete the form and submit. You'll be redirected to a page detailing your merge request.
You can do these same steps for a Mercurial repo, although there are functional tests to cover both Git and Mercurial.
r.forms[0].submit().follow()
would be the detail view for a merge request right? We should also test the /merge-requests/ list view. And a status change save if you're ambitious.These items have been fixed and the functional tests updated accordingly.
Nevermind the XSS, it's just standard markdown rendering
Removed the redundant list of commits.