monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] cvssync: citing a log entry in a commit message


From: Christof Petig
Subject: Re: [Monotone-devel] cvssync: citing a log entry in a commit message
Date: Fri, 24 Jun 2005 08:33:11 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

Alvaro Herrera schrieb:
> (There are earlier later revisions of course, which I omitted).  Note
> that r1.3 cites the 1.2 log entry, with the dashes line included :-(
> For now I just edited the ,v file to make that line not look like a
> revision separator, but if you have a better suggestion, i.e. one that
> can make the repository importable without having to edit it, please let
> me know.

The most reasonable way would be to change the state machine to
recognize 28 dashes in a changelog. Unfortunately even this will fail if
you put a revision 1.x line directly after this. You might even detect
this because a correct date/author line has a different internal
protocol structure but because it is no fun I did not implement it
without need. I'll commit a small change which should fix your problem.

> (I've been playing with a tree imported with the cvs_import feature of
> mainline, but in order to make it importable I had to drop some things
> from the repository; and I eventually discovered that it isn't very
> acceptable that way.)

Do you know about the new cvs_takeover feature? You can import a CVS
working directory, change it, commit into monotone and push your changes
 into CVS lateron (no connection to the server required).

   Christof

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]