projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83dce55
)
sync-to-perforce is now called submit and fixed the gitdir check a little bit
author
Simon Hausmann
<hausmann@kde.org>
Tue, 20 Mar 2007 17:32:47 +0000
(18:32 +0100)
committer
Simon Hausmann
<hausmann@kde.org>
Tue, 20 Mar 2007 17:32:47 +0000
(18:32 +0100)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/git-p4.py
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4.py
b/contrib/fast-import/git-p4.py
index fa1b19fbbc82f28aac7daf4ccdd5762bedc60f9d..aca1bcaab20dd20d21eded7f326f5b42d2fb99bf 100755
(executable)
--- a/
contrib/fast-import/git-p4.py
+++ b/
contrib/fast-import/git-p4.py
@@
-316,7
+316,7
@@
def printUsage(commands):
commands = {
"debug" : P4Debug(),
"clean-tags" : P4CleanTags(),
- "s
ync-to-perforce
" : P4Sync()
+ "s
ubmit
" : P4Sync()
}
if len(sys.argv[1:]) == 0:
@@
-350,7
+350,7
@@
if not isValidGitDir(gitdir):
if isValidGitDir(gitdir + "/.git"):
gitdir += "/.git"
else:
- di
r
("fatal: cannot locate git repository at %s" % gitdir)
+ di
e
("fatal: cannot locate git repository at %s" % gitdir)
os.environ["GIT_DIR"] = gitdir