[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bitkeeper-users
Subject:    Re: [Bitkeeper-users] Reliably using BitKeeper on 'out of repository' files?
From:       Chris Siebenmann <cks () utcc ! utoronto ! ca>
Date:       2002-08-22 21:17:56
[Download RAW message or body]

 Last month I wrote a question on this subject, which got some replies.
The core question was:
|  This leaves a 'publishing' model, where the files are copied from
| the BitKeeper repository to the system locations, overwriting the old
| versions. It's reasonably easy to write the external code to support
| this.
|
|  But: this leaves the problem of how to insure that we don't lose
| changes made to the system-location copies[*]. Ideally one would
| verify that the installed copy corresponded to some version under BK
| control (probably that all of them were from the same changeset, too).

 I now have the first version of a program to do almost this. It
simplifies the problem by only validating that the file still matches
the last version that the program itself installed, which I figure is
reasonably workable. (And might be superior to trying to synchronize
version information.)

 I would welcome comments on the program and the approach, and for
that matter other people might find it useful. The current version
of the program is at:
	http://utcc.utoronto.ca/cks/programs/publish
When it is finalized and polished, it will have real documentation.
In the mean time, see the comments at the start of the program and
the --help output. The program is written in Python but doesn't
require any additional modules not part of the core Python 1.5.2
distribution (as far as I know), and should work on 1.5.2 and later
versions.

	- cks
_______________________________________________
Bitkeeper-users mailing list
Bitkeeper-users@bitmover.com
http://bitmover.com/mailman/listinfo/bitkeeper-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic