[darcs-devel] Support for darcshive repositories?
Anthony Towns
aj at azure.humbug.org.au
Tue Nov 30 22:44:10 PST 2004
David Roundy wrote:
> On Tue, Nov 30, 2004 at 11:30:56AM +1000, Anthony Towns wrote:
>> $DARCS_DARCSHIVE apply <host> <path>
>>(with the input to "darcs apply --all" being on stdin)
> Perhaps instead we could have two environment variables,
> $DARCS_DARCSHIVE_RETRIEVE and $DARCS_DARCSHIVE_APPLY?
>
> Then we wouldn't be limited to darcshive (see below). Also, it seems like
> it would be prettier to just pass the entire URL rather than breaking it
> into a host and path.
What about "darcs push --apply-as"? I'm tempted to say "unsupported" so
instead of saying:
darcs push --apply-as foo ajt at darcs.debian.net:/srv/foo/xyzzy
I might say
export DARCS_APPLY_SSH=applyviassh.sh
darcs push ssh://ajt@darcs.debian.net/srv/foo/xyzzy?user=foo
and assume applyviassh.sh parses the url appropriately when working out
what to actually do. That'd make:
export DARCS_APPLY_FOO=...
darcs push --apply-as .. foo://..
and error. Does that seem reasonable?
Cheers,
aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 155 bytes
Desc: OpenPGP digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20041201/300aa702/signature.pgp
More information about the darcs-devel
mailing list