Ticket #107 (closed defect: wontfix)

Opened 6 years ago

Last modified 5 years ago

Incorrect CVS conversion (involving modules)

Reported by: neilc Owned by: lele
Priority: major Milestone: VersionOne
Component: cvs Version: 0.9
Keywords: Cc:

Description

I'm trying to use Tailor 0.9.27 to produce a Mercurial version of the Postgres upstream CVS repository. My tailor configuration file is attached. The bootstrap run of Tailor results in a 1996-era CVS checkout in the "old_repo" subdirectory, and then what appears to be a faithful Mercurial version of that 1996 repository in the "migrated" subdirectory. Curiously, "hg log" on the produced Mercurial repository results in some log entries that go back to February 21st or so, but no further.

Tailor 0.9.27, Hg 0.9.3, CVS 1.11.22 on the client, some older version of CVS on the remote anoncvs server. The same problem persists if I use cvsup/rsync to mirror the repository locally and run Tailor against that.

On IRC, Lele mentioned the problem might be related to the upstream repository's use of CVS modules.

Change History

comment:1 Changed 6 years ago by neilc

Ok, since Trac doesn't want to let me attach files, the Tailor configuration file is included below. Note that you will need to "cvs login" before checking out from the anoncvs server: any password except for the empty string can be used.

[DEFAULT] verbose = True debug = True encoding = utf8 encoding-errors-policy = ignore

[project] target = hg:target start-revision = INITIAL root-directory = /home/neilc/pg_tailor state-file = tailor.state source = cvs:source

[hg:target] module = postgres subdir = migrated

[cvs:source] module = pgsql repository = :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot subdir = old_repo

comment:2 Changed 6 years ago by neilc

Sigh, another version, this time as a preformatted text block:

[DEFAULT]
verbose = True
debug = True
encoding = utf8
encoding-errors-policy = ignore

[project]
target = hg:target
start-revision = INITIAL
root-directory = /home/neilc/pg_tailor
state-file = tailor.state
source = cvs:source

[hg:target]
module = postgres
subdir = migrated

[cvs:source]
module = pgsql
repository = :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot
subdir = old_repo

Oh, and one more piece of information: when Tailor runs, it produces various warning messages of the form: "Expecting 13 revisions, found 14."

comment:3 Changed 5 years ago by lele

  • Component changed from tailor to cvs

comment:4 Changed 5 years ago by lele

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

Sorry, but I'm afraid this cannot be solved, even if I'll be happy to be corrected. The CVS log simply does not contain enough information, when using modules.

Note: See TracTickets for help on using tickets.