How to re-enable a removed file ?
Matt Harbison
mharbison72 at gmail.com
Thu Jan 24 02:26:29 UTC 2019
On Mon, 21 Jan 2019 06:02:45 -0500, Nicolas Pinault via Mercurial
<mercurial at mercurial-scm.org> wrote:
> Hi,
>
> I use a tool that, when updating some files, remove the files then
> create new ones with new/same content.
> My problem is that these files are marked as removed.
> How can I "un-remove" them so I can see the difference with previous
> version ?
It sounds like you can simply `hg add $filename` them back, if there's
still a file in the filesystem (with potentially different content).
Depending on what else is removed, you can probably use 'set:removed()'
instead of naming each file to add.
More information about the Mercurial
mailing list