OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9d698
)
remote-bzr: only update workingtree on local repos
author
Felipe Contreras
<felipe.contreras@gmail.com>
Sat, 6 Apr 2013 03:49:20 +0000
(21:49 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 7 Apr 2013 07:39:27 +0000
(
00:39
-0700)
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>
contrib/remote-helpers/git-remote-bzr
patch
|
blob
|
history
diff --git
a/contrib/remote-helpers/git-remote-bzr
b/contrib/remote-helpers/git-remote-bzr
index
a99a924
..
9466cb9
100755
(executable)
--- 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