tags:

views:

451

answers:

2

Subversion 1.5 introduced changelists and I wanted to use this feature to group a change for later and continue to work on other files. The problem is that the subversion commands like svn diff and svn commit work on all modified files. I can limit the files they operate on if I specify a changelist with the --changelist option. But how can I limit the operations to files that are in no changelist at all?

For example: file1 and file2 are both modified. file1 is in the changelist A and file2 is in no changelist.

If I do svn diff --changelist A I see the diff for file1.

But if I do svn diff I see the diff for file1 and file2.

How do I manage to see a diff of just file2, i.e. of all the files that are not part of a changelist?

I am using Subversion 1.6 (in case this makes a difference).

+3  A: 

Sorry, subversion doesn't have a syntax to express that yet.

There are some ideas to allow a --changelist "" syntax, but that isn't implemented yet.

Bert Huijben
A: 

If you're interested in doing this in a graphical environment, SmartSVN (cross-platform) can do this for you. Their free version is quite full-featured, too.

Matt Dillard
But then, so does tortoiseSVN
David Kemp