This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Renaming issue, changing case only.


On 3/3/2009 7:48 PM, David Rothenberger wrote:
On 3/3/2009 12:27 PM, Jason Pyeron wrote:
$ svn mv CustomerInventoryAction.java CustomerinventoryAction.java
svn: Path 'CustomerinventoryAction.java' is not a directory

$ svn mv src/httpd/html/WEB-INF/jsp/customerInventory.jsp
src/httpd/html/WEB-INF/jsp/customerinventory-input.jsp
$ svn mv src/httpd/html/WEB-INF/jsp/inventoryResults.jsp
src/httpd/html/WEB-INF/jsp/customerinventory.jsp
$ svn ci Transmitting file data ..svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory 'XXXXXX/src/httpd/html/WEB-INF/jsp'
svn: Error processing command 'committed' in
'XXXXXXXXXX/src/httpd/html/WEB-INF/jsp'
svn: Error getting 'affected time' for
'XXXXXXXXXX/src/httpd/html/WEB-INF/jsp/.svn/text-base/customerinventory.jsp.svn-


base'
svn: Can't stat
'XXXXXXXX/src/httpd/html/WEB-INF/jsp/.svn/text-base/customerinventory.jsp.svn-ba


se': No such file or directory
svn: Your commit message was left in a temporary file:
svn:    'XXXXXXXXXXXXXXX/svn-commit.tmp'


But mv is okay.


$ touch XyzzY.txt
$ mv XyzzY.txt Xyzzy.txt
$

coreutils has some magic to make this work that is lacking in subversion or libapr1 or libaprutils1. Does this work with Cygwin 1.7?

Doesn't work with Cygwin 1.7, either.


The work-around is to do a commit between moves:
% svn mv file File.tmp
% svn commit -m ''
% svn mv File.tmp file
% svn commit -m ''

--
David Rothenberger  ----  daveroth@acm.org

Oregano, n.:
        The ancient Italian art of pizza folding.


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]