#35: Getting error while trying to do a two way sync between CVS and darcs.
-----------------------------------+----------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:  lele                  
      Type:  defect                |      Status:  new                   
  Priority:  major                 |   Milestone:  VersionOne            
 Component:  tailor                |     Version:  0.9                   
Resolution:                        |    Keywords:  cvs darcs two way sync
-----------------------------------+----------------------------------------
Comment (by Lele Gaifax):

 Trying out your testcase script (''thanks'' :-) I notice the following, in
 random order:

  1. In such a scenario, you '''must''' use two different state files for
 the two projects, something like the following single config, containing
 both projects (then, you can do `tailor --configfile thisfile.tailor cvs-
 to-darcs` to process just one of them)
  {{{
 [DEFAULT]
 verbose = True

 [cvs-to-darcs]
 target = darcs:repo
 start-revision = INITIAL
 root-directory = /tmp/tailor/hybrid
 state-file = c2d.state
 source = cvs:repo

 [darcs-to-cvs]
 target = darcs:repo
 start-revision = INITIAL
 root-directory = /tmp/tailor/hybrid
 state-file = d2c.state
 source = cvs:repo

 [darcs:repo]
 module = modname
 repository = /tmp/tailor/dmaster

 [cvs:repo]
 module = modname
 repository = /tmp/tailor/cvsroot
 }}}
  2. The final error is due to an [source:vcpx/[EMAIL PROTECTED] unfortunate
 code] in `cvs.py` that assume a date was specified whenever a patchname
 begins with a digit. I'll try to stick a stronger check. The obvious
 workaround is using `"-m 'Patch $(wc -l foo)'"` as commit messages,
 instead of just a number. But I'll recheck the case, since it shouldn't
 reach that point anyway...

-- 
Ticket URL: <http://progetti.arstecnica.it/tailor/ticket/35>
Tailor <http://www.darcs.net/DarcsWiki/Tailor>
An inter-VCs changeset exchanger
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor

Reply via email to