[darcs-users] Re: Programmatic invocation
Stephen J. Turnbull
stephen at xemacs.org
Thu Nov 3 12:29:44 UTC 2005
>>>>> "Olivier" == Olivier Lefevre <lefevrol at yahoo.com> writes:
Olivier> That's why I was aksing about that, too. Apparently no
Olivier> changes are required to darcs in this respect: you can
Olivier> already force it to work in 100% non-interactive mode
Olivier> with the right flags. Compared to the interactive mode
Olivier> that's some loss of functionality but that is another
Olivier> issue.
This isn't quite true. I don't remember whether it's unrecord or
unrevert, but one of those commands requires some interactive input.
That can presumably easily be fixed. At present I just feed "y" to it
through a pipe until it exits. :-)
However, IMHO YMMV the Darcs UI is not very good for non-interactive
use. For example, --patch names are much too fuzzy, while I haven't
found a good way to get unique patch names (ie, that you can feed to
--match 'hash XXXX'). Also, I find that the interactive modes are
incredibly helpful in disentangling mixed-up changes. I suspect it
would be rather hard to emulate those without passing darcs prompts
back to the user. So this would likely lower the quality of the Darcs
experience.
--
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
More information about the darcs-users
mailing list