How to find who removed a line ?

praveen_m86 praveen_m86 at rediffmail.com
Fri Apr 27 14:09:43 UTC 2012


I have a scenario where a set of codes got removed from the default trunk.
How do i identify the changeset that removed the line ? Though I identified
the changeset that removed the line, it was a painful process. The reason
was hg log of the file would actually show me the list of all the changesets
in which the fie was committed and the file never got committed in the
default trunk, it was only delivered to the main trunk. In this case I had
different branches which didn't deliver their modifications to the same file
to the main trunk. So a hg log file command that displays changesets with
respect to a branch, showing changesets of other branch whose content are
delivered to the default branch would be ideal.


Had it been a modified line hg annotate would have solved the problem. But
this was a removed line.

Is there a command that displays log between 2 changesets with diff between
then... (Not the whole diff, but changeset wise diff between them)

hg log 10:15 (diff between 10-11,11-12,12-13,13-14,14,15)


--
View this message in context: http://mercurial.808500.n3.nabble.com/How-to-find-who-removed-a-line-tp3944354p3944354.html
Sent from the General mailing list archive at Nabble.com.



More information about the Mercurial mailing list