[darcs-users] how to use darcs send
Eric S Fraga
e.fraga at ucl.ac.uk
Thu Mar 29 09:03:16 UTC 2007
Hello all,
As there does seem to be some activity on this mailing list, I thought I'd
ask a question that's been bugging me for a while now.
I use darcs on a system which is often offline (my laptop). I would like to
make use of the 'darcs send' command to essentially push any patches I have
created offline to my main repository. Any emails I write while offline are
automatically sent as soon as my system is connected to the 'net so 'darcs
send', from what I understand, would be perfect because it would no longer
require me to remember to 'darcs push' when my system is connected.
The problem is that I cannot get the send command to work:
------------------------------
$ darcs --version
1.0.8 (release)
$ uname -a
Linux YYY 2.4.28a #1 Fri Nov 19 16:09:09 GMT 2004 i686 GNU/Linux
$ darcs whatsnew
M ./inputs/hen/generator/test.in -1 +2
$ darcs record -a
What is the patch name? testing send feature in darcs
Do you want to add a long comment? [yn]n
Finished recording patch 'testing send feature in darcs'
$ darcs send
darcs failed: Not a repository: XXX
(user error ((scp) failed to fetch: XXX/_darcs/inventory))
$ darcs send .
Patch bundle will be sent to: Eric S Fraga <e.fraga at ucl.ac.uk>
No recorded local changes to send!
$
------------------------------
where XXX in the above is the actual location of the repository I pulled
this copy from (somewhere on the 'net). This happens, it would seem,
regardless of the options I give.
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"...
Thanks for any pointers!
I must say, by the way, that I am really impressed with darcs. I have been
using software revision control systems for a very long time (starting with
SCCS in the early 80's and moving through RCS, CVS and Subversion along the
way) and darcs is by far the most appropriate for the distributed way in
which I and my group work.
thanks,
eric
--
Eric S. Fraga, Department of Chemical Engineering, UCL, London
............*******.*..**.*.*...***.***.*...*...***.*...........
More information about the darcs-users
mailing list