[darcs-users] version names
Nathan Gray
kolibrie at graystudios.org
Tue Aug 14 20:52:50 UTC 2007
On Mon, Aug 13, 2007 at 12:24:16PM -0700, Lev Lvovsky wrote:
> Hello, we have our code repository managed by darcs, and I'm looking for
> input on how to accomplish some version management the 'darcs way'.
I'm not sure I understand exactly what you are looking to do.
However, your comments bring to mind the 'darcs tag' command, which
creates a snapshot patch of the state of your repository. You can
then pull that tag to bring your copy of the repository up to that
state.
> So we basically have a moving target of files, and I was wondering if darcs
> or darcs users have any methods for dealing with this. At the very least,
> it'd be nice to get at the hash name for a particular patch so that we
> could at the very least "name" the incremental file after the hash name of
> the main file.
# release
editor main_file
darcs record main_file
darcs tag v0.01
# updates
editor incremental_file
darcs record incremental_file
editor incremental_file
darcs record incremental_file
# move changes from incremental file into main_file
# and release
editor main_file incremental_file
darcs record main_file incremental_file
darcs tag v0.02
-kolibrie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20070814/ae672b19/attachment.pgp
More information about the darcs-users
mailing list