# HG changeset patch # User Nicolas Dumazet # Date 2011-04-30 15:38:06 # Node ID 3956ea942492787976d59fb5475c7dbc08e7b41f # Parent c0e29e10b9ef96bfbe8ec7998124e0535d15e6d6 tests: remove test-issue322 as it's fully included in test-issue660 diff --git a/tests/test-issue322.t b/tests/test-issue322.t deleted file mode 100644 --- a/tests/test-issue322.t +++ /dev/null @@ -1,59 +0,0 @@ -http://mercurial.selenic.com/bts/issue322 - -File replaced with directory: - - $ hg init a - $ cd a - $ echo a > a - $ hg commit -Ama - adding a - $ rm a - $ mkdir a - $ echo a > a/a - -Should fail - would corrupt dirstate: - - $ hg add a/a - abort: file 'a' in dirstate clashes with 'a/a' - [255] - - $ cd .. - -Directory replaced with file: - - $ hg init c - $ cd c - $ mkdir a - $ echo a > a/a - $ hg commit -Ama - adding a/a - - $ rm -r a - $ echo a > a - -Should fail - would corrupt dirstate: - - $ hg add a - abort: directory 'a' already in dirstate - [255] - - $ cd .. - -Directory replaced with file: - - $ hg init d - $ cd d - $ mkdir b - $ mkdir b/c - $ echo a > b/c/d - $ hg commit -Ama - adding b/c/d - $ rm -r b - $ echo a > b - -Should fail - would corrupt dirstate: - - $ hg add b - abort: directory 'b' already in dirstate - [255] - diff --git a/tests/test-issue660.t b/tests/test-issue660.t --- a/tests/test-issue660.t +++ b/tests/test-issue660.t @@ -1,4 +1,5 @@ -http://mercurial.selenic.com/bts/issue660 +http://mercurial.selenic.com/bts/issue660 and: +http://mercurial.selenic.com/bts/issue322 $ hg init $ echo a > a