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

Re: SVN Commit and Properties

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Tue, 18 Aug 2009 08:20:17 +1000

On Tue, Aug 18, 2009 at 7:47 AM, BRM <bm_witness_at_yahoo.com> wrote:
> 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).

You simply need to commit the file/folder on which the properties have
changed, in the same manner as specifying individual files to commit.
However, you cannot differentiate between committing properties and
commit file changes.

Daniel B.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 00:21:12 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.