I actually meant to add something to this thread, which I then forgot
to post... As I'd written it anyway though:
Also with Subversion, you can easily just:
> svn status --verbose <file>
There should be a 'M' at the beginning of the output to indicate that
the file has been modified in the working copy.
> rm <file>
> svn update <file>
> svn status --verbose <file>
should show that file as being no longer being modified and should
back to the latest.
> svn update -r <revision> <file>
can be used to update the file to a specific desired revision.
Regards,
Ian
On Jul 27, 11:11 am, "
ian.w...@wandisco.com" <
ian.w...@wandisco.com>
wrote:
> On Jul 27, 9:23 am, anler <
anle...@gmail.com> wrote:
>
> > Hi, I've just started to use svn some days ago and I have a little
> > question, if I change a file how do I prevent the commit of that file
> > when I commit the rest of my changes?
>
> Hi Anler,
>
> Which Subversion client do you use?
>
> From the command line, as far as I know, there isn't a way to exclude
> one particular file from a commit. What you can do is specify all of
> the files you do want to commit and therefore manually exclude the one
> file you'd like to hold back. To do this, you just need to specify the
> filenames after your log message eg 'svn ci -m "Commit Log Message"
> file1 file2 file3' etc
>
> Best Wishes,
>
> Ian Wild
> WANdisco, Inc.
>
> Free Online Subversion Traininghttp://
hub.wandisco.com/eTraining