Ticket #9 (closed enhancement: worksforme)

Opened 8 years ago

Last modified 7 years ago

CVS tailorization with module prefix

Reported by: pdarga@… Owned by: lele
Priority: minor Milestone: VersionOne
Component: tailor Version: 0.9
Keywords: Cc:

Description

I have a CVS repo I am accessing through ssh, which has a module named proj/proj which i wish to take out. (I don't want to take out just proj because it contains files I don't want in my repo.) I would like the "proj" subdirectory prefix in my tailorized mercurial repo as well. Here's what I want to have:

root
|-> cvs -> CVS
|          proj -> CVS
|                  (files)
|-> hg -> .hg
          proj -> (files)

However, my best efforts cannot get the desired target directory. I end up with .hg in the same directory as (files), which I absolutely don't want; I want that prefix directory "proj" in there.

I suspect that getting tailor to support the -N flag to cvs checkout would help here.

Change History

comment:1 Changed 8 years ago by Lele Gaifax

This should now be possible:

[project]
source=cvs:source
target=hg:target
root-directory=root

[cvs:source]
repository=:ext:...
module=some/path
subdir=proj/module

Since by default target's subdir is "." tailor will prefix all entry's names with proj/module.

Please, verify the fix introduced with [892] and let me know.

comment:2 Changed 7 years ago by lele

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

No news is good news, assuming it worked.

Note: See TracTickets for help on using tickets.