Provide some information for single branch imports where the commits go
Signed-off-by: Simon Hausmann <simon@lst.de>
Simon Hausmann committed
Jun 11, 2007 at 23:28 UTC
a9d1a27af1f1c997eeef67aed54136ae83355bb9
1 file changed
+4
-1
contrib/fast-import/git-p4
+4
-1
@@ -1175,7 +1175,7 @@ class P4Sync(Command):
1175
self.gitError = importProcess.stderr
1176
1177
if self.revision:
1178
- print "Doing initial import of %s from revision %s" % (' '.join(self.depotPaths), self.revision)
1178
+ print "Doing initial import of %s from revision %s into %s" % (' '.join(self.depotPaths), self.revision, self.branch)
1179
1180
details = { "user" : "git perforce import user", "time" : int(time.time()) }
1181
details["desc"] = ("Initial import of %s from the state at revision %s"
@@ -1252,6 +1252,9 @@ class P4Sync(Command):
1252
print "No changes to import!"
1253
return True
1254
1255
+ if not self.silent and not self.detectBranches:
1256
+ print "Import destination: %s" % self.branch
1257
+
1258
self.updatedBranches = set()
1259
1260
cnt = 1