1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +01:00
phorge-phorge/src/applications/diffusion/query
epriestley 985a85ec72 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
2013-04-11 10:05:55 -07:00
..
branch Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
browse Use (a = ? AND b = ?) instead of (a, b) IN (?, ?) 2013-04-05 23:02:06 -07:00
committags Delete license headers from files 2012-11-05 11:16:51 -08:00
contains Implement DiffusionMercurialContainsQuery in Diffusion 2013-02-27 18:41:21 -08:00
diff escape svn repository file paths. 2013-02-13 19:30:11 +09:00
exists Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
filecontent Save blame info to lint messages 2013-03-06 16:19:01 -08:00
history Use reverse(x::y) instead of y::x in Mercurial history queries 2013-02-27 20:08:54 -08:00
lastmodified Show diffs of removed and propchanged files in Mercurial correctly 2013-04-11 10:05:55 -07:00
mergedcommits Delete license headers from files 2012-11-05 11:16:51 -08:00
parents Delete license headers from files 2012-11-05 11:16:51 -08:00
pathchange Don't show changes for commits which affect more than 1,000 files 2013-01-30 12:01:49 -08:00
pathid Fix failing unit test testParentEdgeCases under Windows 2013-04-02 09:01:33 -07:00
rawdiff Delete license headers from files 2012-11-05 11:16:51 -08:00
taglist Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
DiffusionCommitQuery.php Don't barf on bad commit identifiers 2013-03-19 15:30:16 -07:00
DiffusionPathQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionRenameHistoryQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DiffusionSymbolQuery.php Delete license headers from files 2012-11-05 11:16:51 -08:00