Le 24/01/2019 à 03:26, Matt Harbison a écrit :
On Mon, 21 Jan 2019 06:02:45 -0500, Nicolas Pinault via Mercurial <[email protected]> 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.
That's it, new files are generated (with new or same content) after being removed.
I'll try to `hg add` them next time I use the "problematic" tool.

Thanks for your help.
_______________________________________________
Mercurial mailing list
[email protected]
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to