clean all unregistered files?
Angel Ezquerra
angel.ezquerra at gmail.com
Tue Feb 7 18:00:14 UTC 2012
On Feb 7, 2012 5:54 PM, "Neal Becker" <ndbecker2 at gmail.com> wrote:
>
>
>
> On Tue, Feb 7, 2012 at 11:50 AM, Angel Ezquerra <angel.ezquerra at gmail.com>
wrote:
>>
>>
>> On Feb 7, 2012 5:40 PM, "Paul Boddie" <paul.boddie at biotek.uio.no> wrote:
>> >
>> > On 07/02/12 17:35, Peter Bourgon wrote:
>> >>
>> >> Does "unregistered" mean "untracked"? If so,
>> >>
>> >> hg st -un | xargs rm
>> >
>> >
>> > Or better:
>> >
>> > hg st -un0 | xargs -0 rm
>> >
>> > Otherwise, if a file "Hello world" were untracked and another file
"world" were tracked, you'd delete the wrong file.
>> >
>> > Paul
>>
>> If you are using TortoiseHg you can also use the purge command which you
can find on the repository menu, I believe.
>>
>> Angel
>
> Which I just did, but it seems it did not offer to tell me what files it
was going to purge. I think it should.
I believe there is a button to site which files will be removed.
Angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120207/76ee32e8/attachment-0002.html>
More information about the Mercurial
mailing list