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

Re: Changelist support for svn patch?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 17 Apr 2013 14:27:26 -0400

On 04/17/2013 11:32 AM, Philip Martin wrote:
> "C. Michael Pilato" <cmpilato_at_collab.net> writes:
>
>> On 04/17/2013 09:43 AM, Philip Martin wrote:
>>> The behaviour looks simple to define for 'patch' and 'merge', I was
>>> thinking about 'svn add --force' which marks all the unversioned files
>>> for addition.
>>
>> You mean, perhaps, 'svn add --force -R' (or some other non-empty depth).
>
> Add is recursive by default.

Doh. You're right, of course.

>> But that marks files *and* directories for addition.
>> directories to changelists today. :-(
>
> I imagine a new add-to-changelist option for commands would skip
> directories much like 'svn changelist'. But even if we do that it's not
> clear (to me anyway) which files should be added by 'svn add --force'.

Let's examine the feasible options:

1. Mark all files under the explicit 'svn add' target with changelist.
Meh... 'svn changelist -R' would do the same.

2. Mark only files added to version control by this command. To do this
with a subsequent 'svn changelist' command would require a bit of scripting
magic, so this seems like an interpretation that actually provides benefit.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-04-17 20:28:14 CEST

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

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