cscvs doesn't support :ext: CVS repos
Bug #112327 reported by
Michael Hudson-Doyle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad CSCVS |
Fix Released
|
High
|
Paul Hummer |
Bug Description
CSCVS doesn't support importing from CVS repositories that use :ext: in $CVSROOT.
Apparently it used to, and cjwatson gave us a patch that allows it to again, which I'll attach in a moment.
Related branches
lp:~rockstar/launchpad-cscvs/fix-cvs-ext-bug-112327
Merged
into
lp:launchpad-cscvs
- Michael Hudson-Doyle (community): Approve
- Launchpad PQM Bot: Pending requested
Changed in launchpad-cscvs: | |
assignee: | nobody → rockstar |
Changed in launchpad-cscvs: | |
status: | Confirmed → Fix Committed |
Changed in launchpad-cscvs: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Unfortunately the patch is against a pretty old cscvs (2006-06-01), and doesn't work any more (still applies though!).
The main changes are:
1) cscvs uses subprocess now, not gnarly. Probably trivial to fix.
2) support for 'cvs version' has gone away, so the test fails because CVS.Repository doesn't have a version() method any more. As this just seems to be a "something works" sort of test, just changing it to test rlog or something should suffice.
Do you have time to work on this? If not, I'm sure we can get it done.
In addition, the test depends on openssh-server being installed, which it wasn't on my machine. You could probably avoid the dependency by using paramiko, but that might be a bit more involved a change.