Skip to content

Commit d60e807

Browse files
quark-zjufacebook-github-bot
authored andcommitted
py3: fix absorb -i
Summary: The command does not crash but `-` lines are ignored. Reviewed By: DurhamG Differential Revision: D23357655 fbshipit-source-id: f48568bc193f947503bc19f3e192b33346c317e1
1 parent e505d33 commit d60e807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eden/scm/edenscm/hgext/absorb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ def _parsechunk(hunk):
879879
patchlines = mdiff.splitnewlines(buf.getvalue())
880880
# hunk.prettystr() will update hunk.removed
881881
a2 = a1 + hunk.removed
882-
blines = [l[1:] for l in patchlines[1:] if l[0] != "-"]
882+
blines = [l[1:] for l in patchlines[1:] if l[0] != b"-"]
883883
return path, (a1, a2, blines)
884884

885885

0 commit comments

Comments
 (0)