Using a changelist with the revet command
From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Fri, 19 Nov 2010 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
|
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.