Edgewall Software

Ticket #5921 (closed defect: duplicate)

Opened 13 months ago

Last modified 13 months ago

Changeset display on "svn copy" has errors

Reported by: trac@… Owned by: cboos
Priority: normal Milestone:
Component: version control/changeset view Version: 0.10.4
Severity: minor Keywords: copy cosmetic
Cc: trac@…

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

Change History

Changed 13 months ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

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

Add/Change #5921 (Changeset display on "svn copy" has errors)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.