##// END OF EJS Templates
py3: fix kwargs handling in hgext/absorb.py...
Pulkit Goyal -
r39822:d50125de default
parent child Browse files
Show More
@@ -1,7 +1,9 b''
1 test-abort-checkin.t
1 test-abort-checkin.t
2 test-absorb-filefixupstate.py
2 test-absorb-filefixupstate.py
3 test-absorb-phase.t
3 test-absorb-phase.t
4 test-absorb-rename.t
4 test-absorb-strip.t
5 test-absorb-strip.t
6 test-absorb.t
5 test-add.t
7 test-add.t
6 test-addremove-similar.t
8 test-addremove-similar.t
7 test-addremove.t
9 test-addremove.t
@@ -972,6 +972,7 b' def absorbcmd(ui, repo, *pats, **opts):'
972
972
973 Returns 0 on success, 1 if all chunks were ignored and nothing amended.
973 Returns 0 on success, 1 if all chunks were ignored and nothing amended.
974 """
974 """
975 opts = pycompat.byteskwargs(opts)
975 state = absorb(ui, repo, pats=pats, opts=opts)
976 state = absorb(ui, repo, pats=pats, opts=opts)
976 if sum(s[0] for s in state.chunkstats.values()) == 0:
977 if sum(s[0] for s in state.chunkstats.values()) == 0:
977 return 1
978 return 1
General Comments 0
You need to be logged in to leave comments. Login now