[darcs-users] darcs send with remote server unavailable
Trent W. Buck
trentbuck at gmail.com
Thu May 7 06:36:26 UTC 2009
Simon Michael <simon at joyful.com> writes:
> I haven't yet needed darcs send --offline, but it does sound like it
> would be nice if this could just work.
I have used the technique once or twice, but it is not something I need
regularly because 1) I am usually online; and 2) if I'm not, I can't
send email anyway.
> If you pull from multiple repos, would it store the context of each
> one ? When you push to a repo, do you also re-fetch its context ?
Would it be "cleaner" to simply have
darcs send --from-tag foo
be shorthand for
darcs get --tag foo . <temporary branch>
darcs send <temporary branch>
i.e. it offers to send any patches not included in the tag "foo". The
longhand version is simply a way of quickly obliterating the patches you
want to send from <temporary branch>. To avoid it asking you about
stuff you don't care about, you could add --match 'name "<your name>"'.
What I'm talking about above is essentially just formalizing technique
that's already used in this situation.
> I suppose darcs send could also let you select arbitrary patches to
> send, without checking a context.
It still needs to attach a context file when applying the patches, and
it needs to calculate which deps are unfulfilled in order to ask about
them.
More information about the darcs-users
mailing list