Recommendations for developing a Pull model with access rights
Giorgos Keramidas
keramida at ceid.upatras.gr
Thu Jan 3 20:27:46 CST 2008
On 2008-01-04 08:43, Michael Smith <michael.smith at thalesatm.com> wrote:
> This script is called synchg. Usage
>
> To send changes after the REMOTE tag to the other system:
>
> cd /path/to/repo
> synchg
>
> To incorporate changes from a remote system:
>
> cd /path/to/repo
> synchg /path/to/bundles/appname-changeset-*
> rm /path/to/bundles/appname-changeset-*
>
> It assumes that you extracted bundles from your email inbox and put them
> into /path/to/bundles
>
> A local tag in each repo marks the current known revision of the other
> repo. This tag is updated on send and receive. It doesn't scale very
> well because it has to make a temporary clone in order the build the
> bundle correctly. There may be a better way to do this now.
>
> #! /bin/ksh
> if [ "$*" ]
> then
> for arg in $*
> do
> echo "unbundling $arg"
> hg unbundle $arg
> done
Hi Mike,
FWIW, Mercurial 0.9.5 should be able to unbundle multiple bundle
files in a row, i.e.:
hg unbundle "$@"
hg update
More information about the Mercurial
mailing list