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>
This commit is contained in:

committed by
Junio C Hamano

parent
9d9d698c43
commit
f00f2511d9
@ -630,10 +630,9 @@ def do_export(parser):
|
|||||||
peer.import_last_revision_info_and_tags(repo, revno, revid)
|
peer.import_last_revision_info_and_tags(repo, revno, revid)
|
||||||
else:
|
else:
|
||||||
peer.import_last_revision_info(repo.repository, revno, revid)
|
peer.import_last_revision_info(repo.repository, revno, revid)
|
||||||
wt = peer.bzrdir.open_workingtree()
|
|
||||||
else:
|
else:
|
||||||
wt = repo.bzrdir.open_workingtree()
|
wt = repo.bzrdir.open_workingtree()
|
||||||
wt.update()
|
wt.update()
|
||||||
print "ok %s" % ref
|
print "ok %s" % ref
|
||||||
print
|
print
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user