[darcs-users] duplicate patch ...
Pietro Abate
Pietro.Abate at anu.edu.au
Mon Jul 16 11:57:11 UTC 2007
On Mon, Jul 16, 2007 at 01:17:33PM +0200, Lele Gaifax wrote:
> I may even have an idea why this could happen... Did you check the log
> file? Do you effectively see two "darcs record" in a row?
you are correct, in the log file there is only one commit. This is the
relevant part:
2007-07-16 13:47:54 INFO: Bootstrapping "cvs2darcs" in "/tmp/tailor"
2007-07-16 13:47:54 INFO: /tmp/tailor/darcsrepo $ darcs initialize
2007-07-16 13:47:54 INFO: [Ok]
2007-07-16 13:47:55 INFO: $ cvs -f -d :pserver:anonymous at cvs.cduce.org:/cvsroot rlog -r:HEAD -b cduce
2007-07-16 13:47:57 INFO: [Ok]
2007-07-16 13:48:00 INFO: Cached information about 1955 pending changesets
2007-07-16 13:48:00 INFO: /tmp/tailor $ cvs -q -d :pserver:anonymous at cvs.cduce.org:/cvsroot checkout -d remotesource -D "2002-10-10 09:11:23 UTC" cduce
2007-07-16 13:48:03 INFO: [Ok]
2007-07-16 13:48:03 INFO: Forcing CVS sticky tag in /tmp/tailor/remotesource
2007-07-16 13:48:03 INFO: Working copy up to revision 2002-10-10 09:11:23 by cvscast
2007-07-16 13:48:04 INFO: 1954 pending changesets in state file
2007-07-16 13:48:04 INFO: $ rsync --archive --exclude CVS --exclude _darcs /tmp/tailor/remotesource/ /tmp/tailor/darcsrepo
2007-07-16 13:48:04 INFO: [Ok]
2007-07-16 13:48:04 INFO: /tmp/tailor/darcsrepo $ darcs add --case-ok --recursive --quiet .
2007-07-16 13:48:04 INFO: [Ok]
2007-07-16 13:48:04 INFO: /tmp/tailor/darcsrepo $ darcs record --all --pipe
2007-07-16 13:48:04 INFO: [Ok]
2007-07-16 13:48:04 INFO: /tmp/tailor/darcsrepo $ darcs changes --from-match "not name ^TAG" --xml-output --reverse
2007-07-16 13:48:04 INFO: [Ok]
2007-07-16 13:48:04 INFO: /tmp/tailor/darcsrepo $ darcs tag --author "Unknown tagger" start
2007-07-16 13:48:04 INFO: [Ok] 2007-07-16 13:48:04 INFO: Bootstrap completed
2007-07-16 13:48:04 INFO: Updating "cvs2darcs" in "/tmp/tailor"
2007-07-16 13:48:04 INFO: Applying pending upstream changesets
2007-07-16 13:48:04 INFO: Changeset "2002-10-10 09:11:23 by cvscast"
2007-07-16 13:48:04 INFO: Log message: Initial revision
darcs side it does:
darcs add --case-ok --recursive --quiet .
darcs record --all --pipe
darcs changes --from-match "not name ^TAG" --xml-output --reverse
darcs tag --author "Unknown tagger" start
but I don't see how this can be a problem... maybe a problem with record and tag ?
> Is that a public CVS repo? If so, maybe I can see what's happening. Can
> you open a ticket on tailor's trac, or send me the config file?
Yep, it's a public repo. This is my tailor conf:
-----------------
[DEFAULT]
verbose = True
projects = cvs2darcs
encoding = utf8
encoding-errors-policy = ignore
root-directory = /tmp/tailor
[cvs2darcs]
source = cvs:remotesource
target = darcs:tailor
patch-name-format = [r%(revision)s] %(firstlogline)s
remove-first-log-line = True
refill-changelogs = True
state-file = cvs2darcs.state
[cvs:remotesource]
module = cduce
repository = :pserver:anonymous at cvs.cduce.org:/cvsroot
subdir = remotesource
[darcs:tailor]
subdir = darcsrepo
--------------------------
I've tested this both with tailor 0.9.26 and .28 and got the same result.
thanks :)
pietro
--
++ Blog: http://blog.rsise.anu.edu.au/?q=pietro
++
++ "All great truths begin as blasphemies." -George Bernard Shaw
++ Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
More information about the darcs-users
mailing list