Mercurial > hg
diff tests/test-log.out @ 12382:28ddf67198b2 stable
log: include unmodified-in-merge files in log diff/stat (issue2383)
f786fc4b8764 assumed that walkchangerevs called prep with all relevant matched
filenames, but actually it only contains the names of files changed in the
relevant changeset. That meant that log diff/stat of merges missed the diff for
files only changed in the other branch.
This is a minimal fix for making sure we only use fns when we are following and
thus will have problems with merges anyway ...
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 23 Sep 2010 01:23:16 +0200 |
parents | efbc09fdefd8 |
children |
line wrap: on
line diff
--- a/tests/test-log.out Thu Sep 23 01:51:17 2010 +0200 +++ b/tests/test-log.out Thu Sep 23 01:23:16 2010 +0200 @@ -585,3 +585,48 @@ @@ -0,0 +1,1 @@ +a +% issue2383 +adding a +adding b +0 files updated, 0 files merged, 1 files removed, 0 files unresolved +created new head +1 files updated, 0 files merged, 0 files removed, 0 files unresolved +(branch merge, don't forget to commit) + +% diff +diff -r b09be438c43a -r 8e07aafe1edc a +--- a/a Thu Jan 01 00:00:00 1970 +0000 ++++ b/a Thu Jan 01 00:00:00 1970 +0000 +@@ -1,1 +1,1 @@ +-b ++c +diff -r b09be438c43a -r 8e07aafe1edc b +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/b Thu Jan 01 00:00:00 1970 +0000 +@@ -0,0 +1,1 @@ ++b + +% log +changeset: 3:8e07aafe1edc +tag: tip +parent: 2:b09be438c43a +parent: 1:925d80f479bb +user: test +date: Thu Jan 01 00:00:00 1970 +0000 +files: a +description: +3 + + +diff -r b09be438c43a -r 8e07aafe1edc a +--- a/a Thu Jan 01 00:00:00 1970 +0000 ++++ b/a Thu Jan 01 00:00:00 1970 +0000 +@@ -1,1 +1,1 @@ +-b ++c +diff -r b09be438c43a -r 8e07aafe1edc b +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/b Thu Jan 01 00:00:00 1970 +0000 +@@ -0,0 +1,1 @@ ++b +