record extension - where's diff option?

Alan D. Salewski asalewski at healthmarketscience.com
Thu Sep 6 10:59:44 CDT 2007


On Thu, Sep 06, 2007 at 11:54:11AM -0400, Neal Becker spake thus:
> hg record SConscript
> diff --git a/mod/SConscript b/mod/SConscript
> 1 hunks, 12 lines changed
> record changes to 'mod/SConscript'? [Ynsfdaq?]  ?
> y - record this change
> n - skip this change
> s - skip remaining changes to this file
> f - record remaining changes to this file
> d - done, skip remaining changes and files
> a - record all changes to all remaining files
> q - quit, recording no changes
> ? - display help
> 
> Am I missing something?  Where is the option to SEE the diff?
> Without this, seems pretty useless.

Hi Neal,

I had the same reaction when I first tried the 'Record' extension, too.
Actually, the above prompt is really just asking you if you want to
consider /any/ of the changes for that file. If you respond with 'y',
you'll then be prompted to accept or reject the individual patch hunks.
If you say 'n', then the 'record' extension will move on to the next
changed file (if any).

Also, I wrote this up in the "For darcs record Refugees" section on the
wiki page for the mercurial 'Record' extension:

    http://www.selenic.com/mercurial/wiki/index.cgi/RecordExtension

HTH,
-Al

-- 
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
Alan D. Salewski
Software Developer
Health Market Science, Inc.
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
:: 


More information about the Mercurial-devel mailing list