Cross-repo revision numbers?

Benoît Allard benoit at aeteurope.nl
Tue Oct 13 04:58:35 CDT 2009


Mike Meyer wrote:
> We build 80+ distributions, each composed of a multitude - in some
> cases over 200 - different packages. The packages are shared between
> distributions. Using a DSCM, the logical approach would seem to be to
> put each package in it's own repository. But to create a release, we
> need to have a tag of some kind to label which version of each package
> went into a release so we can recreate it later. We currently do that
> with svn's '{DATE}' revision syntax, and just record the date for the
> release.

The way we do here is that we have a snapshot repository that store the 
snapshot (forest extension -> fsnap) of the whole tree at a certain 
moment in time. Those snapshot are enough to restore the whole tree in 
the state of the release. Those state can be uniquely identified with 
the revision id of the snapshot repository.

We did not figured out yet how subrepo could help us removing our 
dependency on the deprecated forest extension. But we'd be happy to see 
if someone has similar experience though.

Regards,
Benoit


More information about the Mercurial mailing list