My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2606b1
)
git-p4: python3: fix octal constants
author
Luke Diamand
<luke@diamand.org>
Tue, 19 Jun 2018 08:04:11 +0000
(09:04 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Jun 2018 16:34:32 +0000
(09:34 -0700)
See PEP3127. Works fine with python2 as well.
Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
patch
|
blob
|
history
diff --git
a/git-p4.py
b/git-p4.py
index
714e442
..
b449db1
100755
(executable)
--- a/
git-p4.py
+++ b/
git-p4.py
@@
-1841,7
+1841,7
@@
class P4Submit(Command, P4UserMap):
filesToDelete.remove(path)
dst_mode = int(diff['dst_mode'], 8)
- if dst_mode == 0120000:
+ if dst_mode == 0
o
120000:
symlinks.add(path)
elif modifier == "D":