Skip to content

Commit

Permalink
Provide some information for single branch imports where the commits go
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Hausmann <simon@lst.de>
  • Loading branch information
Simon Hausmann committed Jun 11, 2007
1 parent c3bf3f1 commit a9d1a27
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/fast-import/git-p4
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a9d1a27

Please sign in to comment.