Ticket #30 (closed defect: fixed)
Bootstrapping a CVS repo from darcs with Version1 doesn't work
| Reported by: | scottm@… | Owned by: | lele |
|---|---|---|---|
| Priority: | major | Milestone: | VersionOne |
| Component: | cvs | Version: | 0.9 |
| Keywords: | cvs | Cc: |
Description
It looks like tailor is trying to add files to a directory that isn't checked out of CVS (yet). I suspect that what tailor really wants to do is a 'cvs import' of the initial version, subsequent versions should then use the normal sequence of cvs commands.
I tried to track down where in the tailor source all of this was occurring, but it wasn't obvious to a casual Ph.D. observer. :-)
tailor config file:
[DEFAULT] verbose = True [project] target = cvs:target start-revision = INITIAL root-directory = /work/darcs-repos/GeoLocate-trans/workdir state-file = tailor.state source = darcs:source subdir = . [cvs:target] module = GeoLocate repository = /work/cvs-repos/GeoLocate [darcs:source] repository = /work/darcs-repos/GeoLocate
tailor's output:
+ CVSROOT=/work/cvs-repos + export CVSROOT + tailor -v -D --configfile GeoLocate.tailor 15:58:49 [I] Bootstrapping "project" in "/work/darcs-repos/GeoLocate-trans/workdir" 15:58:49 [I] $ darcs changes --xml-output --repo /work/darcs-repos/GeoLocate --reverse 15:58:49 [I] [Ok] Output stream: <changelog> ... </changelog> 15:58:49 [I] /work/darcs-repos/GeoLocate-trans/workdir $ darcs initialize 15:58:49 [I] [Ok] 15:58:49 [I] /work/darcs-repos/GeoLocate-trans/workdir $ darcs pull --all --quiet --match "hash 20051229001432-7dd55-786e1d1b8a66fd716183a27f7d404342fa900a0a.gz" /work/darcs-repos/GeoLocate 15:58:51 [I] [Ok] 15:58:51 [I] /work/darcs-repos/GeoLocate-trans/workdir $ darcs changes --last 1 --xml-output 15:58:51 [I] [Ok] Output stream: <changelog> <patch author='scottm@aero.org' date='20051229001432' local_date='Wed Dec 28 16:14:32 PST 2005' inverted='False' hash='20051229001432-7dd55-786e1d1b8a66fd716183a27f7d404342fa900a0a.gz'> <name>initial_import</name> </patch> </changelog> 15:58:51 [I] /work/darcs-repos/GeoLocate-trans/workdir $ cvs -q add ./GeoLocate cvs add: in directory `.': cvs [add aborted]: there is no version here; do `cvs checkout' first 15:58:51 [W] [Status 1] 15:58:51 [I] /work/darcs-repos/GeoLocate-trans/workdir $ cvs -q add ./GeoLocate/main.cpp ./GeoLocate/geolocate.cbp ./GeoLocate/geolocate.depend ./GeoLocate/geolocate.layout ./GeoLocate/EarthModel.cxx ./GeoLocate/EarthModel.hxx cvs add: in directory `./GeoLocate': cvs [add aborted]: there is no version here; do `cvs checkout' first 15:58:51 [W] [Status 1] 15:58:51 [I] /work/darcs-repos/GeoLocate-trans/workdir $ cvs -q ci -F /tmp/tailorV4Kd0Ecvs . cvs commit: in directory `.': cvs [commit aborted]: there is no version here; do `cvs checkout' first 15:58:51 [W] [Status 1] 15:58:51 [C] Could not import checked out tree in "/work/darcs-repos/GeoLocate-trans/workdir"! Failure applying upstream changes: /work/darcs-repos/GeoLocate-trans/workdir $ cvs -q ci -F /tmp/tailorV4Kd0Ecvs . returned status 1
Change History
Note: See
TracTickets for help on using
tickets.
