Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 16142:7ee1d0dd7ca3
status: fix format field thinko
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Feb 2012 15:22:12 -0600 |
parents | 68007f0557de |
children | 5b0a4383cd5e |
comparison
equal
deleted
inserted
replaced
16140:dbf64594a3c3 | 16142:7ee1d0dd7ca3 |
---|---|
5285 for state, char, files in changestates: | 5285 for state, char, files in changestates: |
5286 if state in show: | 5286 if state in show: |
5287 label = 'status.' + state | 5287 label = 'status.' + state |
5288 for f in files: | 5288 for f in files: |
5289 fm.startitem() | 5289 fm.startitem() |
5290 fm.write("status char", format, char, | 5290 fm.write("status path", format, char, |
5291 repo.pathto(f, cwd), label=label) | 5291 repo.pathto(f, cwd), label=label) |
5292 if f in copy: | 5292 if f in copy: |
5293 fm.write("copy", ' %s' + end, repo.pathto(copy[f], cwd), | 5293 fm.write("copy", ' %s' + end, repo.pathto(copy[f], cwd), |
5294 label='status.copied') | 5294 label='status.copied') |
5295 fm.end() | 5295 fm.end() |