Package: svk
Version: 1.08-2
In Debian Edu, we have created a tool to keep /etc/ in svk, and this
tool is activated at install time. To create the repository, I had to
use expect to avoid the question asked by svk like this:
# Initialize a depot in $HOME/.svk by running "svk depotmap --init".
# This is interactive, so use expect to answer the question
expect -c 'spawn svk depotmap --init; expect -exact "create? (y/n)"; send
"y\r"; expect eof'
This seem to be overkill, as all I want is to create the repository.
Can an option be added to svk to make it possible to create
repositories non-interactively? For example -y (yes to all questions)
would do.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]