#5921 closed defect (duplicate)
Changeset display on "svn copy" has errors
| Reported by: | 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.



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