Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
f2606b1
)
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
@@
def applyCommit(self, id):
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":