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

Re: [PATCH] svn patch --add-to-cl

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Wed, 28 Jul 2010 15:38:01 +0100

On Sat, 2010-07-24, Daniel Shahaf wrote:
> I've drilled a changelist into 'svn patch'.
>
> [[[
> 0:% $svn st subversion
> 0:% $svn patch ../diffs/svn-patch-add_to_cl.diff --add-to-cl cl
> A [cl] subversion/tests/libsvn_client/client-test.c
> U subversion/tests/libsvn_client/client-test.c
[...]
> 0:% $svn st --cl cl
> --- Changelist 'cl':
> M subversion/include/svn_client.h
> M subversion/tests/libsvn_client/client-test.c
[...]
> ]]]
>
> Comments? Thoughts?

You're talking about a totally new option, one that says "I'd like to
add all the files affected to a (specified) changelist."

That sounds like it could be a useful feature, but it doesn't sound like
it should be specific to "svn patch" - if we have such a feature, I
would expect to be able to use it with (more or less) all svn commands.
Makes sense?

- Julian

> I haven't tested how it integrates with tree changes (files being
> added/removed/moved/copied by 'svn patch') yet. In fact, I'm not sure what's
> the current status of that: does 'svn patch' currently support tree operations
> other than adding/removing files?
Received on 2010-07-28 16:38:44 CEST

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