[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial
Subject:    Re: hg status shows a lot of deleted files, recover them on the fly
From:       Arne Babenhauserheide <arne_bab () web ! de>
Date:       2017-11-13 17:18:10
Message-ID: 87fu9i5c79.fsf () web ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Uwe Brauer <oub@mat.ucm.es> writes:

> Hi
>
> I don't know what happened, I was about to commit when I run hg status
> and saw
>  cleanup-big
> ! cleanup-tilde-local
> ! cleanup-tilde-org
> ! create-thin-shell.sh
> ! desactivate-touchpad.sh
> ! disable-touchpad.sh
> ! dual-screen.sh
> ! enable-touchpad.sh
> ! ipad.sh
>
> Etc etc 30 entries more
>
> What is the fastest way to revert these file? Something similar to
> addremove but say recover all?
>
> I don't feel like reverting these file one by one

I'd use

hg sta -dn | xargs hg revert 

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic