[PATCH 3 of 5] generate-working-copy-states: accept depth arguments on command line

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Dec 2 16:14:07 CST 2014



On 11/30/2014 10:14 PM, Martin von Zweigbergk wrote:
> generate-working-copy-states: accept depth arguments on command line
>
> Add an parameters to generate-working-copy-states.py that indicates
> how many changesets are wanted. This number impacts all the
> subcommands. The current 'filelist' subcommand becomes 'filelist 2',
> the current 'base' and 'parent' subcommands become 'state 2 1' and
> 'state 2 2' respectively, while 'wc' becomes 'state 2 wc'.
>
> See earlier patch for motivation.

The patch itself sounds good to me, but the cli api start to get hairy. 
Can I get you to add some documentation about the way it is supposed to 
the used at the beginning of the script?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list