mercurial/hg.py
branchstable
changeset 10728 4a70178f9bde
parent 10380 ee72d89c0d9f
child 10731 71cf11f03b3d
child 11154 17031fea4e95
--- a/mercurial/hg.py	Thu Mar 18 01:58:26 2010 +0100
+++ b/mercurial/hg.py	Thu Mar 18 16:38:07 2010 +0100
@@ -209,6 +209,7 @@
         src_repo = repository(ui, source)
     else:
         src_repo = source
+        branch = None
         origsource = source = src_repo.url()
     rev, checkout = addbranchrevs(src_repo, src_repo, branch, rev)