D5684: py3: fix test-update-atomic.t

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Thu Jan 24 15:10:19 EST 2019


pulkit added inline comments.

INLINE COMMENTS

> test-update-atomic.t:13
>    >     file_stat = os.stat(file_path)
> -  >     octal_mode = oct(file_stat[ST_MODE] & 0o777)
> +  >     octal_mode = oct(file_stat[ST_MODE] & 0o777).replace('o', '')
>    >     print("%s:%s" % (file_path, octal_mode))

hm, why is this change required?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5684

To: durin42, pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list