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

Adding a new directory with a changelist

From: <webpost_at_tigris.org>
Date: Wed, 29 Apr 2009 07:50:22 -0700 (PDT)

I'm running into a problem using changelists to filter my commits when I need to add a new directory. The problem appears to be that the directory add itself cannot be in a changelist, so when I commit using the changelist, the directory add is not included, and the adds of new files in the directory therefore fail. Here's an example:

svn mkdir newdir
svn cl test newdir

This command does nothing and outputs a "Skipped 'newdir'" message.

touch newdir/a
svn add newdir/a
svn cl test newdir/a
svn status

A newdir

--- Changelist 'test':
A newdir/a

svn commit --cl test -m "test msg"

fails with:

Adding parent/newdir/a
Transmitting file data .svn: Commit failed (details follow):
svn: File not found: transaction '213-6l', path '/trunk/parent/newdir/a'

No doubt the problem is that the directory newdir isn't being added with the commit. Is this a known limitation of changelists? Is there a thought to improve this?

Thanks!

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-29 16:51:45 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.