git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f2606b1
)
git-p4: python3: fix octal constants
author
Luke Diamand
<redacted>
Tue, 19 Jun 2018 08:04:11 +0000
(09:04 +0100)
committer
Junio C Hamano
<redacted>
Tue, 19 Jun 2018 16:34:32 +0000
(09:34 -0700)
See PEP3127. Works fine with python2 as well.
Signed-off-by: Luke Diamand <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
patch
|
blob
|
history
diff --git
a/git-p4.py
b/git-p4.py
index 714e442d7cf954fa2debe6ae3bb9d6449c5c9e07..b449db1cc9020ad1d7a5e66418d6c97f088419b2 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":
git clone https://git.99rst.org/PROJECT