mercurial/commands.py
changeset 823 f0446f6963d2
parent 820 89985a1b3427
child 824 0932bc2fb2be
child 837 a95c9b3fc3bf
equal deleted inserted replaced
822:b678e6d4f92d 823:f0446f6963d2
  1028     R = removed
  1028     R = removed
  1029     ? = not tracked'''
  1029     ? = not tracked'''
  1030 
  1030 
  1031     cwd = repo.getcwd()
  1031     cwd = repo.getcwd()
  1032     files, matchfn = matchpats(cwd, pats, opts)
  1032     files, matchfn = matchpats(cwd, pats, opts)
  1033     (c, a, d, u) = repo.changes(files = files, match = matchfn)
  1033     (c, a, d, u) = [[pathto(cwd, x) for x in n]
  1034     (c, a, d, u) = [map(lambda x: pathto(cwd, x), n) for n in c, a, d, u]
  1034                     for n in repo.changes(files=files, match=matchfn)]
  1035 
  1035 
  1036     for f in c:
  1036     for f in c:
  1037         ui.write("M ", f, "\n")
  1037         ui.write("M ", f, "\n")
  1038     for f in a:
  1038     for f in a:
  1039         ui.write("A ", f, "\n")
  1039         ui.write("A ", f, "\n")