removing repo that was cloned breaks clone

Christian Ebert blacktrash at gmx.net
Thu Jul 12 10:12:05 CDT 2007


* Brendan Cully on Thursday, July 12, 2007 at 07:48:07 -0700:
> On Thursday, 12 July 2007 at 16:42, Christian Ebert wrote:
>> $ hg init test
>> $ cd test
>> $ echo hello >a
>> $ hg add a
>> $ hg ci -m hello
>> $ echo world >>a
>> $ hg ci -m world
>> $ cd ..
>> $ hg clone test test-1
>> 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> $ rm -rP test
>> $ cd test-1/
>> $ hg tip
>> abort: requirement '���������������' not supported!
> 
> That works fine here, except that I don't have a -P flag for my
> rm. What's that do?

     -P		 Overwrite regular files before deleting them.	Files are
		 overwritten three times, first with the byte pattern 0xff,
		 then 0x00, and then 0xff again, before they are deleted.

This is on MacOS 10.4

c
-- 
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/>
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>


More information about the Mercurial-devel mailing list