On Mon, Apr 20, 2009 at 08:53:22 -0700, Eric Kow wrote: > We added this flag to help debug darcs behaviour on hashed repositories. > Any objections? > > Sat Apr 18 15:32:40 BST 2009 Eric Kow <[email protected]> > * Refactor no-cache flag. > > Sat Apr 18 18:03:26 BST 2009 Eric Kow <[email protected]> > * Add darcs whatsnew --no-cache.
I'm going to go ahead and push this. Don't hesitate to complain! Refactor no-cache flag. ----------------------- > Eric Kow <[email protected]>**20090418143240 > Ignore-this: 30b8280c5a5e752a2a788dece4803df0 > ] hunk ./src/Darcs/Arguments.lhs 82 > umask_option, > store_in_memory, > patch_select_flag, > - network_options, > + network_options, no_cache, > allow_unrelated_repos > ) where > import System.Console.GetOpt > hunk ./src/Darcs/Arguments.lhs 1486 > pipelining_description, > DarcsNoArgOption [] ["no-http-pipelining"] NoHTTPPipelining > no_pipelining_description], > - DarcsNoArgOption [] ["no-cache"] NoCache > - "don't use patch caches"] > + no_cache > + ] > where pipelining_description = > "enable HTTP pipelining"++ > (if pipeliningEnabledByDefault then " [DEFAULT]" else "") > hunk ./src/Darcs/Arguments.lhs 1494 > no_pipelining_description = > "disable HTTP pipelining"++ > (if pipeliningEnabledByDefault then "" else " [DEFAULT]") > + > +no_cache :: DarcsOption > +no_cache = DarcsNoArgOption [] ["no-cache"] NoCache > + "don't use patch caches" > \end{code} > \begin{options} > --umask Add darcs whatsnew --no-cache. ------------------------------ > Eric Kow <[email protected]>**20090418170326 > Ignore-this: f2665335cd1396a1134a3c630b2eaf3f > ] hunk ./src/Darcs/Commands/WhatsNew.lhs 36 > import Darcs.Commands ( DarcsCommand(..), nodefaults ) > import Darcs.Arguments ( DarcsFlag(..), working_repo_dir, lookforadds, > ignoretimes, noskip_boring, > - unified, summary, > + unified, summary, no_cache, > areFileArgs, fixSubPaths, > list_registered_files, > ) > hunk ./src/Darcs/Commands/WhatsNew.lhs 92 > command_prereq = amInRepository, > command_get_arg_possibilities = > list_registered_files, > command_argdefaults = nodefaults, > - command_advanced_options = [ignoretimes, > noskip_boring], > + command_advanced_options = [ignoretimes, > noskip_boring, no_cache], > command_basic_options = [summary, unified, > lookforadds, > working_repo_dir]} > -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
