finding file removal change in repository
Thomas Klausner
tk at giga.or.at
Mon May 4 20:48:48 UTC 2015
On Mon, May 04, 2015 at 05:13:56PM +0900, Yuya Nishihara wrote:
> On Mon, 4 May 2015 09:10:45 +0200, Thomas Klausner wrote:
> > On Sun, May 03, 2015 at 11:21:40AM -0700, Adrian Klaver wrote:
> > > On 05/03/2015 11:17 AM, Thomas Klausner wrote:
> > > >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
> >
> > Thank you.
> > Why isn't that on by default?
>
> Perhaps one reason is that --removed is slow.
Ok. I don't know what the mercurial stance to heuristics in the user
interface is, but I could imagine that it'd already be quite helpful
if '--removed' was implied when the file does not currently exist in
the checkout -- just an idea.
Thanks for the help!
Thomas
More information about the Mercurial
mailing list