提交 f00f2511 编写于 作者: F Felipe Contreras 提交者: Junio C Hamano

remote-bzr: only update workingtree on local repos

Apparently, that's the only way it's possible.
Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 9d9d698c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册