[darcs-users] Heads up: incompatible change to repository format

dagit at eecs.oregonstate.edu dagit at eecs.oregonstate.edu
Fri Jan 6 18:39:34 UTC 2006


Quoting Juliusz Chroboczek <Juliusz.Chroboczek at pps.jussieu.fr>:

> > I'm still lagging behind on my knowledge of the new format.  Is there
> > a darcs command for upgrading an existing repo to the new format?
>
>   $ mv _darcs/current _darcs/pristine
>
> Yes, that's all there is to it right now.

Ah, okay.

>
> The other change is that Darcs now checks for a file called
> ``_darcs/format'', which contains data about the format of a
> repository.  If this file is absent, or empty (which is currently the
> case), the repository is in the baseline format; in the future, it
> will contain information about which extensions to the baseline format
> are necessary in order to grok a given repo.

Very nice.

>
> This will allow us to make seamless transitions in the future, with
> older version of Darcs giving you a friendly message asking you to
> upgrade if you attempt to use a newer repository.

That sounds wonderful.  I want to experiment with using sqlite databases instead
of files.  Sounds like this would allow me to create a special darcs version
that works with the current format and then optionally supports databases.

Thanks,
Jason





More information about the darcs-users mailing list