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

new directories can't be added to changelist

From: Sam Peretz <SPeretz_at_intralinks.com>
Date: Mon, 6 Jul 2015 14:59:42 +0000

When I add to a changelist, directories are skipped:

$ svn cl -R 'refactor' /src/main/java/com/mycompany/myproject/http/
Skipped /src/main/java/com/mycompany/myproject/http'
A [refactor] /src/main/java/com/mycompany/myproject/http/StaticFileHandler.java

Then when I go to commit, I get an error:

$ svn ci --cl 'refactor' -m 'my message'
svn: E200009: Commit failed (details follow):
svn: E200009: '/src/main/java/com/mycompany/myproject/http' is not known to exist in the repository and is not part of the commit, yet its child '/src/main/java/com/mycompany/myproject/common/service/http/StaticFileHandler.java' is part of the commit

Instead, I have to do a separate "pre-commit" of any new directories in order to be able to do a commit by changelist. This is clearly a bug with changelists. Why can't directories be included in a changelist?

Thanks,
Sam Peretz
speretz_at_intralinks.com

Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.
Received on 2015-07-06 19:26:58 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.