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

Re: Using a changelist with the revet command

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 20 Nov 2010 03:58:29 +0200

I think it's intentional.

If we change the first command to have the semantics of the second
command, wouldn't it mean that the second command is equivalent to
'svn revert -R ./'?

If yes, we can't change it --- rather bad compatibility surprised for
everyone who's used to 'svn revert --cl foo -R ./'.

Giulio Troccoli wrote on Fri, Nov 19, 2010 at 11:33:54 +0000:
> Hi,
>
> I have found an odd behaviour with the revert command. Maybe it's
> intended, but I don't find it very intuitive. I'm using SVN 1.6.9.
>
> If I have a changelist and I want to revert all changes made in all
> files in the changelist I would use the following
>
> svn revert --changelist <name>
>
> That doesn't work. Not only I have to add the --depth option, but
> I also have to specify the PATH, so something like
>
> svn revert --depth infinity --changelist <name> .
>
> I don't think either are necessary though. The good thing about
> changelist is that with one easy command you can work on many files at
> ones, even if they are in different directories. With the above
> command, you still can, but from the deepest common directory of all
> the files in the changelist.
>
> The changelist has the full path of every file, so I would have though
> that the first command I tried would be enough.
>
> What do you think?
>
> G
>
>
> Linedata Limited Registered Office: 85 Gracechurch St., London, EC3V
> 0AA Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
>
>
>
>
Received on 2010-11-20 03:01:46 CET

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.