--- a/tests/test-revset.t Mon May 25 11:06:49 2015 -0700
+++ b/tests/test-revset.t Tue May 26 07:44:37 2015 -0500
@@ -697,10 +697,10 @@
$ log 'reverse(null:)' | tail -2
0
-1
+BROKEN: should be '-1'
$ log 'first(null:)'
- -1
+BROKEN: should be '-1'
$ log 'min(null:)'
- -1
$ log 'tip:null and all()' | tail -2
1
0
@@ -708,9 +708,9 @@
Test working-directory revision
$ hg debugrevspec 'wdir()'
None
+BROKEN: should include 'None'
$ hg debugrevspec 'tip or wdir()'
9
- None
$ hg debugrevspec '0:tip and wdir()'
$ log 'outgoing()'
@@ -1702,6 +1702,46 @@
$ cd ..
+prepare repository that has "default" branches of multiple roots
+
+ $ hg init namedbranch
+ $ cd namedbranch
+
+ $ echo default0 >> a
+ $ hg ci -Aqm0
+ $ echo default1 >> a
+ $ hg ci -m1
+
+ $ hg branch -q stable
+ $ echo stable2 >> a
+ $ hg ci -m2
+ $ echo stable3 >> a
+ $ hg ci -m3
+
+ $ hg update -q null
+ $ echo default4 >> a
+ $ hg ci -Aqm4
+ $ echo default5 >> a
+ $ hg ci -m5
+
+"null" revision belongs to "default" branch (issue4683)
+
+ $ log 'branch(null)'
+ 0
+ 1
+ 4
+ 5
+
+"null" revision belongs to "default" branch, but it shouldn't appear in set
+unless explicitly specified (issue4682)
+
+ $ log 'children(branch(default))'
+ 1
+ 2
+ 5
+
+ $ cd ..
+
test author/desc/keyword in problematic encoding
# unicode: cp932:
# u30A2 0x83 0x41(= 'A')