Artifact
2db3dbef6b5f86f8275f7a144b6eb2f2d86662a7:
Ticket change
[2db3dbef6b]
- New ticket [2857ab0995]
Introduce commandline switches to avoid user input.
by
anonymous
2010-12-31 00:39:13.
D 2010-12-31T00:39:13
J comment I'm\strying\sto\sbuild\sa\sC#\swrapper\saround\sfossil\sto\sprovide\sa\s.NET\sdll\sto\sbe\sused\sin\sWindows\ssource\scontrol\sapplications\slike\sthe\ssource\scontrol\sinterface\sof\sVisual\sStudio.\r\n\r\nWhile\simplementing\sthe\scommands\swhich\sare\savailable\son\sthe\sfossil\scommand\sline\sI've\sencountered\ssome\scommands\swhich\smight\srequire\suser\sinput.\r\n\r\nFor\sexample\sfossil\sopen\srequires\san\sa,\sy\sor\sn\sif\sfiles\sof\sthe\scheckout\sare\salready\spresent.\s\r\n\r\nHandling\sthose\scommands\sfrom\smy\scode\sis\skind\sof\scumbersome\sbecause\sI\shave\sto\srun\sthe\scommands\sasynchronously,\sparse\stheir\soutput\sand\sinject\sthe\scorrect\sanswers\sat\sthe\sright\splaces\swith\sevent\shandlers\sfor\sall\sthe\scommands\swhich\sneed\suser\sinteraction.\sIt\swould\sbe\smuch\seasier\sif\sI\scould\sdefine\sanything\son\sthe\scommandline.\s\r\n\r\nAlthough\sit\sis\sobviously\snot\spossible\sto\shave\scommandline\sswitches\sfor\sthe\sy\sor\sn\son\sindividual\sfiles,\sit\sshould\sbe\spossible\sto\sgive\sthe\sa(ll)\sanswer\sby\ssomething\slike\s--force\son\sthe\scommandline.\sIt\sis\salready\sdone\sfor\sa\snumber\sof\scommands.\sGenerally\sspoken,\sit\sshould\sbe\spossible\sto\sset\sa\sdefault\sanswer\sfor\sall\sfiles\sinvolved\son\sthe\scommandline\swhenever\suser\sinteraction\sis\srequired.\r\n\r\nIf\sthis\sfeature\srequest\sis\sa\scandidate\sfor\sfuture\simplementation,\sI'd\scompile\sa\slist\sof\scommands\swhich\srequire\suser\sinteraction\sand\sprovide\ssuggestions\sfor\sa\scommandline\sswitch.\r\n\r\nBtw.:\sDid\syou\sever\sthink\sabout\smaking\sfossil\savailable\sas\sa\slibrary\slike\syou\sdid\swith\sSQLite?
J foundin all
J private_contact e16bca9376b716bf489a593de88e7b2760905520
J severity Important
J status Open
J title Introduce\scommandline\sswitches\sto\savoid\suser\sinput
J type Feature_Request
K 2857ab0995828207effd6ebc4526ca88a53755f7
U anonymous
Z 787571d25a6ef5c55df8b7a23c92c3ea