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

SVN Commit and Properties

From: BRM <bm_witness_at_yahoo.com>
Date: Mon, 17 Aug 2009 14:47:01 -0700 (PDT)

I have a project in SVN that uses svn:externals to bring in headers and libraries from other parts of the source tree.
Typically, I modify these and commit them with all the other files in the commit, so everything is okay.
However, I just had a situation where I didn't want to commit one of the files in my working copy, but I wanted to commit the property.

Normally, when I want to do a partial commit of the working copy I just specify the files on the command-line:

$ svn commit file1.cpp file2.cpp file3.h -m "some message"

However, using the dot operator (.) to specify the local copy for the properties also pulled in my other file.
Is there a way to specify the properties, such as svn:externals, to commit to be able to commit them without committing all the changes in the working copy?

Note: In case you are wondering, the file I didn't want to commit was a script that I had modified for my testing purposes, but really is of no value to others using the source. While it's okay it got committed, I would rather it not have. I'm more curious with this for future commits where I may have files that I really don't want committed yet. Sadly, I'm stuck with SVN 1.4 at the moment (due to server OS limitations).




To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-17 23:47:57 CEST

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.