Mercurial > hg
diff mercurial/node.py @ 43077:687b865b95ad
formatting: byteify all mercurial/ and hgext/ string literals
Done with
python3.7 contrib/byteify-strings.py -i $(hg files 'set:mercurial/**.py - mercurial/thirdparty/** + hgext/**.py - hgext/fsmonitor/pywatchman/** - mercurial/__init__.py')
black -l 80 -t py33 -S $(hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" - hgext/fsmonitor/pywatchman/**')
# skip-blame mass-reformatting only
Differential Revision: https://phab.mercurial-scm.org/D6972
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 06 Oct 2019 09:48:39 -0400 |
parents | 57875cf423c9 |
children | 6266d19556ad |
line wrap: on
line diff
--- a/mercurial/node.py Sun Oct 06 09:45:02 2019 -0400 +++ b/mercurial/node.py Sun Oct 06 09:48:39 2019 -0400 @@ -29,11 +29,11 @@ # Phony node value to stand-in for new files in some uses of # manifests. # In hex, this is '2121212121212121212121212121212121212121' -newnodeid = '!!!!!!!!!!!!!!!!!!!!' +newnodeid = b'!!!!!!!!!!!!!!!!!!!!' # In hex, this is '3030303030303030303030303030306164646564' -addednodeid = '000000000000000added' +addednodeid = b'000000000000000added' # In hex, this is '3030303030303030303030306d6f646966696564' -modifiednodeid = '000000000000modified' +modifiednodeid = b'000000000000modified' wdirfilenodeids = {newnodeid, addednodeid, modifiednodeid}