Homec4science

Show diffs of removed and propchanged files in Mercurial correctly

Authored by epriestley <git@epriestley.com> on Apr 11 2013, 19:05.

Description

Show diffs of removed and propchanged files in Mercurial correctly

Summary:
By default, hg log -- x does not show commits which remove the file x, nor commits which only change properties on x. By passing the flag --removed, commits which remove or just change properties are shown. We expect these commits to be shown in callers (this is the default behavior in Git).

Fixes T2608.

Test Plan: Created commits which remove a file and change properties on a file. Verified hg log --removed -- x reported them correctly, and Diffusion showed them correctly.

Reviewers: btrahan, DurhamGoode

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2608

Differential Revision: https://secure.phabricator.com/D5656

Details

Committed
epriestley <git@epriestley.com>Apr 11 2013, 19:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPH1e1c99c97ba7: Restored title for object handles
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH985a85ec7229: Show diffs of removed and propchanged files in Mercurial correctly (authored by epriestley <git@epriestley.com>).Apr 11 2013, 19:05