# HG changeset patch # User Matt Mackall # Date 2007-12-31 23:47:02 # Node ID 8a5d8fb59ed29df8f4543868b93d6c99d2df0818 # Parent c2a21fe609942715eaac0acb9a72b818ffc9d275 Backed out changeset c2a21fe60994 Unfortunately, this breaks backward compatibility. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2363,7 +2363,7 @@ def status(ui, repo, *pats, **opts): M = modified A = added R = removed - = = clean + C = clean ! = deleted, but still tracked ? = not tracked I = ignored (not shown by default) @@ -2388,7 +2388,7 @@ def status(ui, repo, *pats, **opts): ('unknown', '?', unknown), ('ignored', 'I', ignored)) - explicit_changetypes = changetypes + (('clean', '=', clean),) + explicit_changetypes = changetypes + (('clean', 'C', clean),) end = opts['print0'] and '\0' or '\n' diff --git a/tests/test-586.out b/tests/test-586.out --- a/tests/test-586.out +++ b/tests/test-586.out @@ -10,4 +10,4 @@ added 1 changesets with 1 changes to 1 f (run 'hg heads' to see heads, 'hg merge' to merge) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -= b +C b diff --git a/tests/test-alias.out b/tests/test-alias.out --- a/tests/test-alias.out +++ b/tests/test-alias.out @@ -7,4 +7,4 @@ *** [alias] recursive: circular dependency on recursive adding foo % with opts -= foo +C foo diff --git a/tests/test-copy2.out b/tests/test-copy2.out --- a/tests/test-copy2.out +++ b/tests/test-copy2.out @@ -12,7 +12,7 @@ A bar bar has not been committed yet, so no copy data will be stored for foo. A foo # dry-run; should show that foo is clean -= foo +C foo # should show copy A bar foo @@ -41,7 +41,7 @@ bar renamed from foo:dd12c926cf165e3eb4c A baz bar # foo was clean: -= foo +C foo # but it's considered modified after a copy --after --force M foo bar diff --git a/tests/test-help.out b/tests/test-help.out --- a/tests/test-help.out +++ b/tests/test-help.out @@ -227,7 +227,7 @@ show changed files in the working direct M = modified A = added R = removed - = = clean + C = clean ! = deleted, but still tracked ? = not tracked I = ignored (not shown by default) diff --git a/tests/test-issue660.out b/tests/test-issue660.out --- a/tests/test-issue660.out +++ b/tests/test-issue660.out @@ -32,8 +32,8 @@ A b R a R b/b % commit -= a/a -= b +C a/a +C b % long directory replaced with file adding d/d/d % should fail - would corrupt dirstate @@ -42,8 +42,8 @@ abort: directory 'd' already in dirstate % should succeed - shadow removed % update should work at least with clean workdir 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -= a -= b/b +C a +C b/b 2 files updated, 0 files merged, 0 files removed, 0 files unresolved -= a/a -= b +C a/a +C b diff --git a/tests/test-merge-prompt.out b/tests/test-merge-prompt.out --- a/tests/test-merge-prompt.out +++ b/tests/test-merge-prompt.out @@ -7,7 +7,7 @@ 1 files updated, 0 files merged, 0 files (branch merge, don't forget to commit) status: M file2 -= file1 +C file1 file1: 1 changed @@ -23,7 +23,7 @@ use (c)hanged version or leave (d)eleted (branch merge, don't forget to commit) status: file2: No such file or directory -= file1 +C file1 file1: 1 changed @@ -57,7 +57,7 @@ use (c)hanged version or leave (d)eleted failed status: file2: No such file or directory -= file1 +C file1 file1: 1 changed diff --git a/tests/test-mq-qpush-fail.out b/tests/test-mq-qpush-fail.out --- a/tests/test-mq-qpush-fail.out +++ b/tests/test-mq-qpush-fail.out @@ -16,4 +16,4 @@ summary: add foo % bar should be gone; other unknown/ignored files should still be around ? untracked-file I .hgignore -= foo +C foo diff --git a/tests/test-mq.out b/tests/test-mq.out --- a/tests/test-mq.out +++ b/tests/test-mq.out @@ -369,7 +369,7 @@ new file mode 100644 +bar 3 barney (foo) % refresh omitting an added file -= newfile +C newfile A newfile Now at: bar % create a git patch diff --git a/tests/test-rebuildstate.out b/tests/test-rebuildstate.out --- a/tests/test-rebuildstate.out +++ b/tests/test-rebuildstate.out @@ -7,11 +7,11 @@ r 0 0 bar % status A baz R bar -= foo +C foo % state dump n 666 -1 bar n 666 -1 foo % status ! bar ? baz -= foo +C foo diff --git a/tests/test-rename-merge1.out b/tests/test-rename-merge1.out --- a/tests/test-rename-merge1.out +++ b/tests/test-rename-merge1.out @@ -32,7 +32,7 @@ M b a M b2 R a -= c2 +C c2 blahblah rev offset length base linkrev nodeid p1 p2 0 0 67 0 1 dc51707dfc98 000000000000 000000000000 diff --git a/tests/test-rename-merge2.out b/tests/test-rename-merge2.out --- a/tests/test-rename-merge2.out +++ b/tests/test-rename-merge2.out @@ -22,7 +22,7 @@ 0 files updated, 2 files merged, 0 files -------------- M b a -= a +C a -------------- -------------- @@ -126,7 +126,7 @@ 1 files updated, 1 files merged, 0 files (branch merge, don't forget to commit) -------------- M b -= a +C a -------------- -------------- @@ -147,8 +147,8 @@ my rev@ac809aeed39a+ other rev@97c705ade 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -------------- -= a -= b +C a +C b -------------- -------------- @@ -194,7 +194,7 @@ my rev@ecf3cb2a4219+ other rev@97c705ade 0 files updated, 1 files merged, 0 files removed, 0 files unresolved (branch merge, don't forget to commit) -------------- -= b +C b -------------- -------------- @@ -244,7 +244,7 @@ 1 files updated, 1 files merged, 0 files (branch merge, don't forget to commit) -------------- M c -= b +C b -------------- -------------- @@ -264,7 +264,7 @@ 0 files updated, 2 files merged, 0 files (branch merge, don't forget to commit) -------------- M b -= a +C a -------------- -------------- @@ -370,7 +370,7 @@ 0 files updated, 2 files merged, 0 files (branch merge, don't forget to commit) -------------- M b -= a +C a -------------- -------------- @@ -412,7 +412,7 @@ 0 files updated, 2 files merged, 0 files (branch merge, don't forget to commit) -------------- M b -= a +C a -------------- -------------- diff --git a/tests/test-status.out b/tests/test-status.out --- a/tests/test-status.out +++ b/tests/test-status.out @@ -116,5 +116,5 @@ R removed ! deleted ? unknown I ignored -= .hgignore -= modified +C .hgignore +C modified