Mercurial > hg
view tests/test-pull @ 402:2fe8d66e3075
[PATCH] (3/4) Removing an added file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] (3/4) Removing an added file
From: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>
Here's an hg changeset that deals with "hg add"ing and then "hg remove"ing
a file without ever committing it. Previously, this caused a python
exception
at commit time.
Test case included in the patch.
manifest hash: 4d012f3f8b1aa664fed9e8bc2849931b28728acd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuMPtywK+sNU5EO8RAuxMAKCmeMLqOUBmUfCfbQgYOAysOvKkwgCfcJai
2My0M7KqhwnJSbZXbGIOcow=
=N7N0
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Tue, 21 Jun 2005 17:50:37 -0800 |
parents | ee4c80d294e5 |
children | c5705ab9cebd |
line wrap: on
line source
#!/bin/bash mkdir test cd test echo foo>foo hg init hg addremove hg commit -t "1" hg verify hg serve -p 20059 2>/dev/null & cd .. mkdir copy cd copy hg init http://localhost:20059/ hg verify hg co cat foo hg manifest kill %hg