Edgewall Software
Modify

Ticket #5921 (closed defect: duplicate)

Opened 4 years ago

Last modified 3 years 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@…
Release Notes:
API 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

Change History

comment:1 Changed 4 years ago by cboos

  • Resolution set to duplicate
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cboos. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.