diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-04-05 21:49:20 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-07 00:39:27 -0700 |
commit | f00f2511d97efd01d75eb1f769366ccc50a01dc9 (patch) | |
tree | 923d4bd67b21923410b977836c2ba856f6470c94 /contrib | |
parent | 9d9d698c43aa11d96e9beaf84d77dbceb7460fdd (diff) | |
download | git-f00f2511d97efd01d75eb1f769366ccc50a01dc9.tar.gz |
remote-bzr: only update workingtree on local repos
Apparently, that's the only way it's possible.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/remote-helpers/git-remote-bzr | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index a99a92412f..9466cb9de1 100755 --- a/contrib/remote-helpers/git-remote-bzr +++ b/contrib/remote-helpers/git-remote-bzr @@ -630,10 +630,9 @@ def do_export(parser): peer.import_last_revision_info_and_tags(repo, revno, revid) else: peer.import_last_revision_info(repo.repository, revno, revid) - wt = peer.bzrdir.open_workingtree() else: wt = repo.bzrdir.open_workingtree() - wt.update() + wt.update() print "ok %s" % ref print |