tests/test-hg-parseurl.py
changeset 10365 d757bc0c7865
parent 8174 29bc5d18714a
child 12865 4c50552fc9bc
--- a/tests/test-hg-parseurl.py	Sun Feb 07 14:01:43 2010 +0100
+++ b/tests/test-hg-parseurl.py	Sun Feb 07 14:29:07 2010 +0100
@@ -2,11 +2,11 @@
 
 from mercurial.hg import parseurl
 
-def testparse(url, rev=[]):
-    print '%s, revs: %r, checkout: %r' % parseurl(url, rev)
+def testparse(url, branch=[]):
+    print '%s, branches: %r' % parseurl(url, branch)
 
 testparse('http://example.com/no/anchor')
 testparse('http://example.com/an/anchor#foo')
-testparse('http://example.com/no/anchor/revs', rev=['foo'])
-testparse('http://example.com/an/anchor/revs#bar', rev=['foo'])
-testparse('http://example.com/an/anchor/rev-None#foo', rev=None)
+testparse('http://example.com/no/anchor/branches', branch=['foo'])
+testparse('http://example.com/an/anchor/branches#bar', branch=['foo'])
+testparse('http://example.com/an/anchor/branches-None#foo', branch=None)