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

Re: Committing a directory property alone is impossible?

From: Marc Herbert <Marc.Herbert_at_gmail.com>
Date: Fri, 19 Jun 2009 17:12:28 +0100

>>>>> I need a way to commit (or diff, ...) a changed svn:ignore property on a
>>>>> directory. The problem is that "svn ci ." commits all files in the
>>>>> directory, not only the property. Even using ci option --non-recursive to
>>>>> avoid recursion doesn't help if there are other changed files in the working
>>>>> copy.

>>>> You could go to the parent directory and then say
>>>> svn ci <dirname> -N

>>> Hah, indeed this worked.

>> Well, this "parent directory" trick does NOT work for me. It still pollutes the commit with the files inside the directory.
>> I am using svn, version 1.5.4 (r33841). Is this a regression?

> I think so. The proper way to do it now is to use the new --depth option,
> probably with value "empty". I'm not sure whether 1.5.4 already supports
> this.

"--depth empty" works great with 1.5.4, thanks a lot! This problem has annoyed me for a very long time.

Whatever option is used, changing to the parent directory now makes absolutely no difference with 1.5.4. "--depth" consistently works and "-N" consistently pollutes the commit.

Cheers,

Marc

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2363560

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-19 18:13:43 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.