tests/test-status.t
changeset 41744 67333663d49e
parent 41591 5f827e9ce870
child 41849 2105ed01c431
equal deleted inserted replaced
41743:6462bbb91b53 41744:67333663d49e
   288    }
   288    }
   289   ]
   289   ]
   290 
   290 
   291   $ hg status -A -Tpickle > pickle
   291   $ hg status -A -Tpickle > pickle
   292   >>> from __future__ import print_function
   292   >>> from __future__ import print_function
   293   >>> import pickle
   293   >>> from mercurial.util import pickle
   294   >>> data = sorted((x[b'status'].decode(), x[b'path'].decode()) for x in pickle.load(open("pickle", r"rb")))
   294   >>> data = sorted((x[b'status'].decode(), x[b'path'].decode()) for x in pickle.load(open("pickle", r"rb")))
   295   >>> for s, p in data: print("%s %s" % (s, p))
   295   >>> for s, p in data: print("%s %s" % (s, p))
   296   ! deleted
   296   ! deleted
   297   ? pickle
   297   ? pickle
   298   ? unknown
   298   ? unknown