##// END OF EJS Templates
py3: use bytes.endswith() instead of bytes[n]
Yuya Nishihara -
r38611:21be76e0 default
parent child Browse files
Show More
@@ -2,6 +2,7 b' test-abort-checkin.t'
2 2 test-add.t
3 3 test-addremove-similar.t
4 4 test-addremove.t
5 test-alias.t
5 6 test-amend-subrepo.t
6 7 test-amend.t
7 8 test-ancestor.py
@@ -226,7 +226,7 b' def canonpath(root, cwd, myname, auditor'
226 226 if cwd != root:
227 227 canonpath(root, root, myname, auditor)
228 228 relpath = util.pathto(root, cwd, '')
229 if relpath[-1] == pycompat.ossep:
229 if relpath.endswith(pycompat.ossep):
230 230 relpath = relpath[:-1]
231 231 hint = (_("consider using '--cwd %s'") % relpath)
232 232 except error.Abort:
General Comments 0
You need to be logged in to leave comments. Login now