lkml.org 
[lkml]   [2003]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ANNOUNCE] BK->CVS (real time mirror)
On Mon, Mar 17, 2003 at 06:08:11PM -0500, David Mansfield wrote:
>
> Andrea,
>
> FWIW, I have already written a program called cvsps (www.cobite.com/cvsps)
> which extracts 'patchset' information from cvs log output.
>
> Currently, this program doesn't work with the bk-cvs because the log
> messages that are committed with each file in a changeset can be
> different, and cvsps assumes the log message will be the same.
>
> However, about a 5 line hack to my program (in progress) will allow it to
> recreate the ChangeSet information, since Larry has promised that the
> timestamps of all files touched by a changeset will be unique.
>
> This might help you out. I'll let you know when the '--bk-cvs' option has
> been implemented ;-)

yes, this is very helpful thanks ;). I'd suggest you to also parse the
logic tag and to print a warning if there's an error and not only to
trust the timestamps. In general I don't love to depend on timestamps,
so I appreciate the availability of the logical tag in the cvs log.

Infact it would be nice to also be able to ask for the extraction of a
certain logic tag out of the tree. This logic tag will be the
"changeset" number for us, but one that is also persistent and no only
unique (unlike in bk where the changeset number of a changeset can
change anytime AFIK)

I also wonder if it wouldn't be better if Larry would simply tag the CVS
with the logic tag number since the first place, rather than writing it
in the logs and having to parse the stuff with an external utility.
Personally I would prefer the logical tag to be applied to the CVS with
a true `cvs tag`, not only written into the logs. dozen thousand of tags
(i.e. changesets) shouldn't be a problem for cvs. Doing this change
should be trivial, it should be easier than embedding the logical tag in
the cvs comments. what do you think?

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.048 / U:4.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site