diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2011-10-01 20:49:36 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-09-27 13:27:51 +0000 |
commit | 921ced43c48c1d170452a7b251b94cc96ec8dd44 (patch) | |
tree | 3c4a89176ea67fe4c7bf7b375488361a823c95fa /tests/test-annotate.t | |
parent | 9039c805b0a7e36220101323f82735f08a104b37 (diff) | |
download | mercurial-tarball-921ced43c48c1d170452a7b251b94cc96ec8dd44.tar.gz |
Imported from /srv/lorry/lorry-area/mercurial-tarball/mercurial-1.9.3.tar.gz.HEADmercurial-1.9.3master
Diffstat (limited to 'tests/test-annotate.t')
-rw-r--r-- | tests/test-annotate.t | 69 |
1 files changed, 1 insertions, 68 deletions
diff --git a/tests/test-annotate.t b/tests/test-annotate.t index 85a0985..a72694f 100644 --- a/tests/test-annotate.t +++ b/tests/test-annotate.t @@ -2,8 +2,7 @@ init - $ hg init repo - $ cd repo + $ hg init commit @@ -254,69 +253,3 @@ missing file $ hg ann nosuchfile abort: nosuchfile: no such file in rev e9e6b4fa872f [255] - -annotate file without '\n' on last line - - $ printf "" > c - $ hg ci -A -m test -u nobody -d '1 0' - adding c - $ hg annotate c - $ printf "a\nb" > c - $ hg ci -m test - $ hg annotate c - [0-9]+: a (re) - [0-9]+: b (re) - -Test annotate with whitespace options - - $ cd .. - $ hg init repo-ws - $ cd repo-ws - $ cat > a <<EOF - > aa - > - > b b - > EOF - $ hg ci -Am "adda" - adding a - $ cat > a <<EOF - > a a - > - > - > b b - > EOF - $ hg ci -m "changea" - -Annotate with no option - - $ hg annotate a - 1: a a - 0: - 1: - 1: b b - -Annotate with --ignore-space-change - - $ hg annotate --ignore-space-change a - 1: a a - 1: - 0: - 0: b b - -Annotate with --ignore-all-space - - $ hg annotate --ignore-all-space a - 0: a a - 0: - 1: - 0: b b - -Annotate with --ignore-blank-lines (similar to no options case) - - $ hg annotate --ignore-blank-lines a - 1: a a - 0: - 1: - 1: b b - - $ cd .. |