On Wed, May 6, 2009 at 8:19 AM, Neil Mitchell <[email protected]> wrote:
> Hi
>
>> A simple way to go is to do a "darcs changes --context >
>> server_context" once in a while; then when your server fail you just
>> do "darcs send --context=server_context".
>
> That sounds perfect. So perfect in fact I wonder why it isn't a
> default every time you do a pull, to create a server_context somewhere
> in prefs.
>
> Then you could add darcs send --offline, which would --context against
> the last server_context.
>
> For me, that would be an incredibly useful addition to darcs. I
> already have a customised darcs push command (which maps http:
> addresses to ssh addresses using a custom table for my servers), and
> I'm very tempted to add a push/send command which does the above
> sequence.

You should be able to add a post-hook or two to get the effect you
want *today* and then submit patches so that darcs has this as a
normal behavior in future versions.

Thanks for the suggestion.  I like it too.

Jason
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to