Skip to content
Snippets Groups Projects
Commit ab8061d9942b authored by David M. Carr's avatar David M. Carr
Browse files

tests: add coverage for outgoing with bookmark changes only

parent 4f4ab2d89375
No related branches found
No related tags found
No related merge requests found
......@@ -137,3 +137,45 @@
no changes found
[1]
$ cd ..
Changed bookmarks, but not revs
$ cd purehglocalrepo
$ hg bookmark -fr 2 b1
$ hg bookmark -r 0 b2
$ hgstate
3 fc2664cac217 "add delta" bookmarks: [master]
2 d85ced7ae9d6 "add gamma" bookmarks: [b1]
1 7bcd915dc873 "add beta" bookmarks: []
0 3442585be8a6 "add alpha" bookmarks: [b2]
$ hg outgoing
comparing with $TESTTMP/hgremoterepo
searching for changes
no changes found
[1]
As of 2.3, Mercurial's outgoing -B doesn't actually show changed bookmarks
It only shows "new" bookmarks. Thus, b1 doesn't show up.
$ hg outgoing -B
comparing with $TESTTMP/hgremoterepo
searching for changed bookmarks
b2 3442585be8a6
$ cd ..
$ cd hggitlocalrepo
$ hg bookmark -fr 2 b1
$ hg bookmark -r 0 b2
$ hgstate
3 fc2664cac217 "add delta" bookmarks: [master]
2 d85ced7ae9d6 "add gamma" bookmarks: [b1]
1 7bcd915dc873 "add beta" bookmarks: []
0 3442585be8a6 "add alpha" bookmarks: [b2]
$ hg outgoing
comparing with $TESTTMP/gitremoterepo
searching for changes
no changes found
[1]
As of 2.3, Mercurial's outgoing -B doesn't actually show changed bookmarks
It only shows "new" bookmarks. Thus, b1 doesn't show up.
$ hg outgoing -B
comparing with $TESTTMP/gitremoterepo
searching for changed bookmarks
b2 3442585be8a6
$ cd ..
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment