finding file removal change in repository

Adrian Klaver adrian.klaver at aklaver.com
Sun May 3 18:21:40 UTC 2015


On 05/03/2015 11:17 AM, Thomas Klausner wrote:
> Hi!
>
> I recently went looking for a file that got 'hg rm'ed from a
> repository. I want to find out why it was removed.
>
> When I do 'hg log filename' the last entry I see is for the last
> change before the removal of the file. How can I find the change that
> removed the file?

hg log filename --removed

Found by doing:

hg help log

>   Thomas
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>


-- 
Adrian Klaver
adrian.klaver at aklaver.com



More information about the Mercurial mailing list