Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Provide some information for single branch imports where the commits go
author
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 21:28:03 +0000
(23:28 +0200)
committer
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 21:28:03 +0000
(23:28 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
c3bf3f1
)
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index cababc7fc898bd34ae8ceb7102adda4dfa7ceacd..6c199296d39869aae435e95590b776c6ded705a1 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-1175,7
+1175,7
@@
class P4Sync(Command):
self.gitError = importProcess.stderr
if self.revision:
self.gitError = importProcess.stderr
if self.revision:
- print "Doing initial import of %s from revision %s
" % (' '.join(self.depotPaths), self.revision
)
+ print "Doing initial import of %s from revision %s
into %s" % (' '.join(self.depotPaths), self.revision, self.branch
)
details = { "user" : "git perforce import user", "time" : int(time.time()) }
details["desc"] = ("Initial import of %s from the state at revision %s"
details = { "user" : "git perforce import user", "time" : int(time.time()) }
details["desc"] = ("Initial import of %s from the state at revision %s"
@@
-1252,6
+1252,9
@@
class P4Sync(Command):
print "No changes to import!"
return True
print "No changes to import!"
return True
+ if not self.silent and not self.detectBranches:
+ print "Import destination: %s" % self.branch
+
self.updatedBranches = set()
cnt = 1
self.updatedBranches = set()
cnt = 1