[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 09:04:17 -0400

On 04/17/2013 06:43 AM, Philip Martin wrote:
> [dev CC'd]
>
> Nick <nospam_at_codesniffer.com> writes:
>
>> The 'patch' subcommand does not seem to support applying a changelist
>> description to the files that are part of the patch. Any plans to
>> support this?
>>
>> (Should I be asking this on the dev list?)
>
> That sounds like a useful feauture. The list of files affected by patch
> is not always readily available to pass to the changelist command.
>
> Would this behaviour be useful for other commands?

Most of our other commands have explicitly provided targets, so adding a
changelist to those targets is a simple modification to the previous command
issued at the prompt.

For some commands, the targets aren't all explicit, but the resulting set is
trivial to reproduce with 'svn changelist' anyway. For example, you could
run 'svn propset -R svn:eol-style=native', which will only touch files, but
then 'svn changelist -R' will likewise touch those same files.

'svn merge' comes to mind as one that, like patch, does not always have
explicitly named targets.

It might be convenient for users if we supplied a sort of
"add-affected-items-to-this-changelist" option to all of our
schedule-a-working-copy-change types of subcommands.

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

Received on 2013-04-17 15:04:53 CEST

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.