Skip to content

Commit 9dcb9f2

Browse files
Pete Wyckoffgitster
authored andcommitted
git p4: update name in script
In messages to the user and comments, change "git-p4" to "git p4". Signed-off-by: Pete Wyckoff <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b6f9305 commit 9dcb9f2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

git-p4.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,12 +1129,12 @@ def applyCommit(self, id):
11291129
print "The following files should be scheduled for deletion with p4 delete:"
11301130
print " ".join(filesToDelete)
11311131
die("Please resolve and submit the conflict manually and "
1132-
+ "continue afterwards with git-p4 submit --continue")
1132+
+ "continue afterwards with git p4 submit --continue")
11331133
elif response == "w":
11341134
system(diffcmd + " > patch.txt")
11351135
print "Patch saved to patch.txt in %s !" % self.clientPath
11361136
die("Please resolve and submit the conflict manually and "
1137-
"continue afterwards with git-p4 submit --continue")
1137+
"continue afterwards with git p4 submit --continue")
11381138

11391139
system(applyPatchCmd)
11401140

@@ -1178,8 +1178,8 @@ def applyCommit(self, id):
11781178

11791179
if self.checkAuthorship and not self.p4UserIsMe(p4User):
11801180
submitTemplate += "######## git author %s does not match your p4 account.\n" % gitEmail
1181-
submitTemplate += "######## Use git-p4 option --preserve-user to modify authorship\n"
1182-
submitTemplate += "######## Use git-p4 config git-p4.skipUserNameCheck hides this message.\n"
1181+
submitTemplate += "######## Use option --preserve-user to modify authorship.\n"
1182+
submitTemplate += "######## Variable git-p4.skipUserNameCheck hides this message.\n"
11831183

11841184
separatorLine = "######## everything below this line is just the diff #######\n"
11851185

@@ -2254,7 +2254,7 @@ def importHeadRevision(self, revision):
22542254

22552255
details["change"] = newestRevision
22562256

2257-
# Use time from top-most change so that all git-p4 clones of
2257+
# Use time from top-most change so that all git p4 clones of
22582258
# the same p4 repo have the same commit SHA1s.
22592259
res = p4CmdList("describe -s %d" % newestRevision)
22602260
newestTime = None
@@ -2474,8 +2474,8 @@ def run(self, args):
24742474

24752475
changes.sort()
24762476
else:
2477-
# catch "git-p4 sync" with no new branches, in a repo that
2478-
# does not have any existing git-p4 branches
2477+
# catch "git p4 sync" with no new branches, in a repo that
2478+
# does not have any existing p4 branches
24792479
if len(args) == 0 and not self.p4BranchesInGit:
24802480
die("No remote p4 branches. Perhaps you never did \"git p4 clone\" in here.");
24812481
if self.verbose:

0 commit comments

Comments
 (0)