Rev 1258: Pass in peg_rev correctly. in file:///data/jelmer/bzr-svn/0.4-ra-cext/
Jelmer Vernooij
jelmer at samba.org
Sun Jun 22 00:22:25 BST 2008
At file:///data/jelmer/bzr-svn/0.4-ra-cext/
------------------------------------------------------------
revno: 1258
revision-id: jelmer at samba.org-20080621232222-2afs0ebd06z0ptqj
parent: jelmer at samba.org-20080621231253-2unajf3iu6mbl4h5
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4-ra-cext
timestamp: Sun 2008-06-22 01:22:22 +0200
message:
Pass in peg_rev correctly.
modified:
branch.py svnbranch.py-20051017135706-11c749eb0dab04a7
=== modified file 'branch.py'
--- a/branch.py 2008-06-21 21:47:34 +0000
+++ b/branch.py 2008-06-21 23:22:22 +0000
@@ -177,8 +177,6 @@
:param revision_id: Tip of the checkout.
:return: WorkingTree object of the checkout.
"""
- peg_rev = "HEAD"
-
if revision_id is None:
rev = "HEAD"
else:
@@ -186,7 +184,7 @@
svn_url = bzr_to_svn_url(self.base)
client_ctx = Client(auth=create_auth_baton(svn_url))
- client_ctx.checkout(svn_url, to_location, rev, True)
+ client_ctx.checkout(svn_url, to_location, rev, "HEAD", True)
return WorkingTree.open(to_location)
More information about the bazaar-commits
mailing list