We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6555b2c commit 1a2edf4Copy full SHA for 1a2edf4
contrib/fast-import/git-p4
@@ -957,6 +957,12 @@ class P4Sync(Command):
957
source = source[len(self.depotPaths[0]):-4]
958
destination = destination[len(self.depotPaths[0]):-4]
959
960
+ if destination in self.knownBranches:
961
+ if not self.silent:
962
+ print "p4 branch %s defines a mapping from %s to %s" % (info["branch"], source, destination)
963
+ print "but there exists another mapping from %s to %s already!" % (self.knownBranches[destination], destination)
964
+ continue
965
+
966
self.knownBranches[destination] = source
967
968
lostAndFoundBranches.discard(destination)
0 commit comments