More reviewboard extension improvements
* Identifier can now come from active bookmark
* Tests for diffs
* Fix bug in diff generation
Modify Mercurial's MQ extension by altering several commands and adding a few more. Install it by pointing your ~/.hgrc at it, eg:: [extensions] mq = mqext = ~/lib/hg/mqextCommands added: :qshow: Display a single patch (similar to 'export') :qtouched: See what patches modify which filesCommands not related to mq: :reviewers: Suggest potential reviewers for a patch :bugs: Display the bugs that have touched the same files as a patch :components: Suggest a potential component for a patchAutocommit:If you would like to have any change to your patch repository committed torevision control, mqext adds -Q and -M flags to all mq commands that modify thepatch repository. -Q commits the change to the patch repository, and -M setsthe log message used for that commit (but mqext provides reasonable defaultmessages, tailored to the specific patch repo-modifying command, so you'llrarely use this.)The following commands are modified: - qrefresh - qnew - qrename - qdelete - qimport - qfinishThe expected usage is to add the 'mqcommit=auto' option to the 'mqext' sectionof your ~/.hgrc so that all changes are autocommitted if you are using aversioned patch queue, and to do nothing if not:: [mqext] mqcommit = autoYou could also set it to 'yes' to force it to try to commit all changes, anderror out if you don't have (or have forgotten to create) a patch repository.Alternatively, if you only want a subset of commands to autocommit, you may addthe -Q option to all relevant commands in your ~/.hgrc:: [defaults] qnew = -Q qdelete = -Q qimport = -Q