[darcs-users] how to use darcs send

Max Battcher me at worldmaker.net
Thu Mar 29 13:06:36 UTC 2007


On 3/29/07, Eric S Fraga <e.fraga at ucl.ac.uk> wrote:
> Without specifying the repository, it wants to talk to the repository I
> "pulled" from. If I specify the local copy, it tells me there is nothing to
> send.  I have tried all kinds of options (including --output=, --patches=,
> --interactive, --matches=, --repodir=., ...) but nothing changes the
> behaviour in either case.
>
> Am I misunderstanding something fundamental here?  I think I am because I
> cannot see how darcs would actually know which patches are "new"...

Just like darcs pull, darcs send needs to know what patches are in the
remote repository so that it knows which patches that aren't in the
other repository.

To do a darcs send offline without access to the other repository
you'll need a context file.  You just need to remember to generate one
before you go offline.  Here's a FAQ on how this works:

http://darcs.net/DarcsWiki/FrequentlyAskedQuestions#head-6518424ab7ac0729e9c09d365886d22da9f5f0f4

-- 
--Max Battcher--
http://www.worldmaker.net/



More information about the darcs-users mailing list