Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#5921 closed defect (duplicate)

Changeset display on "svn copy" has errors

Reported by: trac@… Owned by: Christian Boos
Priority: normal Milestone:
Component: version control/changeset view Version: 0.10.4
Severity: minor Keywords: copy cosmetic
Cc: trac@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have now seen this happen twice. If I do an SVN copy of a directory and then delete a file or two from the new copy all in one revision, trac says that I deleted the original files. The repository and trac browser both show everything being fine (originals not lost).

Example (rev 10):

branches/
imports/vhdl/board3/file1
imports/vhdl/board3/file2
imports/vhdl/board3/file3
tags/
trunk/
trunk/vhdl/board1
trunk/vhdl/board2

So that is my repository snapshot. I then do an SVN copy:

imports/vhdl/board3 -> trunk/vhdl/board3

(I don't have the exact command line, I am using TortoiseSVN for the copy.)

But I decide that I don't need file3, so I delete trunk/vhdl/board3/file3

I check it in. The repository (rev 11):

branches/
imports/vhdl/board3/file1
imports/vhdl/board3/file2
imports/vhdl/board3/file3
tags/
trunk/
trunk/vhdl/board1
trunk/vhdl/board2
trunk/vhdl/board3/file1
trunk/vhdl/board3/file2

If I view the changeset for 11 in trac, I get:

[red box] imports/vhdl/board3/file3
[blue box] trunk/vhdl/board3 (copied from imports/vhdl/board3)

When the expected behavior would be to have trac show either (a) the deleted files under trunk/vhdl/board3/ or (b) nothing, since really the files never existed.

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

Right, but this is a known defect, see #4900.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.