cvs2svn creates duplicate node adds

Bug #385920 reported by Elan Ruusamäe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PLD Linux
New
Undecided
Unassigned
Nominated for Th by Elan Ruusamäe

Bug Description

versions:
cvs2svn-2.2.0-1.noarch
cvs-1.12.13-9.x86_64
subversion-1.6.1-1.x86_64

$ cvs2svn --encoding=latin1 --dumpfile=resizer.dump --trunk=/resizer/trunk --tags=/resizer/tags --branches=/resizer/branches --default-eol=native resizer

produces to dump file:

---
Node-path: /resizer
Node-kind: dir
Node-action: add

Node-path: /resizer/trunk
Node-kind: dir
Node-action: add

Node-path: resizer
Node-kind: dir
Node-action: add

Node-path: resizer/trunk
Node-kind: dir
Node-action: add

Node-path: resizer/branches
Node-kind: dir
Node-action: add

Node-path: resizer/tags
Node-kind: dir
Node-action: add
---

while using default branches/tags/trunk paths, it does not duplicate those:
---

Node-path: trunk
Node-kind: dir
Node-action: add

Node-path: branches
Node-kind: dir
Node-action: add

Node-path: tags
Node-kind: dir
Node-action: add
---
---

Revision history for this message
Elan Ruusamäe (glen666) wrote :

seems it works fine without leading slashes:

$ cvs2svn --encoding=latin1 --dumpfile=resizer.dump --trunk=resizer/trunk --tags=resizer/tags --branches=resizer/branches --default-eol=native resizer

however it should treat them both the same.

Revision history for this message
Michael Haggerty (mhagger) wrote :

I just fixed this problem in the cvs2svn upstream project, in trunk r4842. The fix will presumably be in the next cvs2svn release.

Thanks for the bug report (in the future, feel free to report them to the cvs2svn project as I don't monitor these fora).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.