Vote #69247
完了CVS diffs do not handle new files properly
0%
説明
The CVS adapter does not diff new files properly. I've attached a screenshot where the README file is new, but the diff is showing changes from a later revision.
The source of the problem is the base revision used. For example "cvs -d '/cygdrive/c/workspace/redmine/trunk/tmp/test/cvs_repository' rdiff -u -r1 -r1.1 'test/README'" will produce the wrong diff because -r1 is interpreted as a tag. Using -r1.0 is one way to fix the problem.
I've attached a patch that fixes the problem. There was also some code that preventing one line diffs from being shown ... I took it out because it works in this situation, but it may be there for good reason.
By the way, my CVS version is 1.12.13.
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I create new issue #7618 as SCM common issue.
--------------------------------------------------------------------------------
Fixed by r4939. Thanks.
--------------------------------------------------------------------------------
related_issues
relates,Closed,7618,SCM diffs do not handle one line new files properly