summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSimon Hausmann <simon@lst.de>2007-06-11 21:28:03 (GMT)
committerSimon Hausmann <simon@lst.de>2007-06-11 21:28:03 (GMT)
commita9d1a27af1f1c997eeef67aed54136ae83355bb9 (patch)
tree7d021280d2dd8f1d1d8840793eaeab59c88ddbea /contrib
parentc3bf3f1301319faab7344e2d8b5ab10a3d648856 (diff)
downloadgit-a9d1a27af1f1c997eeef67aed54136ae83355bb9.zip
git-a9d1a27af1f1c997eeef67aed54136ae83355bb9.tar.gz
git-a9d1a27af1f1c997eeef67aed54136ae83355bb9.tar.bz2
Provide some information for single branch imports where the commits go
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/git-p45
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index cababc7..6c19929 100755
--- 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:
- 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"
@@ -1252,6 +1252,9 @@ class P4Sync(Command):
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