Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9715 closed defect (duplicate)

wrong source in move detection

Reported by: Bert.Wesarg@… Owned by:
Priority: normal Milestone:
Component: version control/changeset view Version: 0.11.7
Severity: normal Keywords:
Cc: rename, move, detection Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Trac seletect the wrong source for a move in the following case:

$ svn mkdir dirA
$ echo foo >dirA/file0
$ svn add dirA/file0
$ svn ci -m "dirA and file0"
$ svn cp dirA dirB
$ svn mv dirB/file0 dirB/file1
$ echo bar >dirB/file1
$ svn ci -m "dirB and file1"

The svnlook changed with —copy-info is:

A + dirB/
    (from dirA/:r1)
D   dirB/file0
A + dirB/file1
    (from dirA/file0:r1)

And trac detects a move from dirA/file0 to dirB/file1. But dirA/file0 is still there.

I have attached a screen shot from the changeset view.

That is maybe also a bug in subversion. But trac does interpret it nevertheless wrongly.

Attachments (2)

trac-bug.png (85.7 KB ) - added by Bert.Wesarg@… 14 years ago.
screenshot from changeset view
trac-fix.png (14.3 KB ) - added by Christian Boos 14 years ago.
test case verified with 0.12-stable (r10287) and 0.12 proper (r9871)

Download all attachments as: .zip

Change History (6)

by Bert.Wesarg@…, 14 years ago

Attachment: trac-bug.png added

screenshot from changeset view

by Christian Boos, 14 years ago

Attachment: trac-fix.png added

test case verified with 0.12-stable (r10287) and 0.12 proper (r9871)

comment:1 by Christian Boos, 14 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #4900.

test case verified with 0.12-stable (r10287) and 0.12 proper (r9871)

Thanks for the very clear bug report though, that made the check easy to do.

comment:2 by Bert.Wesarg@…, 14 years ago

Thanks. Just to make it clear, this is 0.12. So will this be back-ported to 0.11?

comment:3 by Christian Boos, 14 years ago

No. See the note on 0.11.7.

comment:4 by Bert.Wesarg@…, 14 years ago

Thanks for the pointer.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.