[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] '-p' shortcut to '--parents'

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-05-18 03:10:34 CEST

Kamesh Jayachandran wrote:
> [[[
>
> Provide '-p' shortcut for '--parents'.
>
> * subversion/svn/cl.h
> (svn_cl__longopt_t): Remove 'svn_cl__parents_opt'.
> * subversion/svn/main.c
> (svn_cl__options): Register '-p' shortcut for '--parents'.
> (svn_cl__cmd_table): Register '-p' to be the allowable parameter to 'add',
> 'copy', 'mkdir', 'move'.
> (main): Set 'opt_state.parents' for '-p' switch too.
>
> Patch by: kameshj
> ]]]

I thought about submitting this same patch myself because of the obvious
'mkdir -p'. But 'copy' also takes --parents, and 'cp -p' means something
totally different. Alas, I'm not this merits the consumption of a short_opt.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri May 18 03:10:49 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.