Issue with "Schedule: replace" ?
From: Jared Stiff <jared.stiff_at_mercent.com>
Date: 2006-06-15 03:24:11 CEST
First of all: we've been using Subversion successfully for some time and
Here are the repro steps I used to cause it in a sandbox repository:
* Create test trunk and file.txt within it (commit)
Replacing: Temp\Stuff\svntest\trunk\File1.txt
Error: Commit failed (details follow):
Error: Item '/svntest/trunk/File1.txt' is out of date
Error: You have to update your working copy first.
It's not out of date (I'm the only user of my sandbox)... but just for
Error: REPORT request failed on '/svn/sandbox/!svn/vcc/default'
Error: Working copy path 'trunk/File1.txt' does not exist in repository
A check to "svn info" gives:
Path: File1.txt
Name: File1.txt
URL: http://ghost/svn/sandbox/svntest/trunk/File1.txt
Repository Root: http://ghost/svn/sandbox
Repository UUID: fa1f3b68-fe77-2b4c-a867-e9ce4e4282b3
Revision: 0
Node Kind: file
Schedule: replace
Copied From URL: http://ghost/svn/sandbox/svntest/branches/File1.txt
Copied From Rev: 48
Last Changed Author: jstiff
Last Changed Rev: 48
Last Changed Date: 2006-06-14 17:30:55 -0700 (Wed, 14 Jun 2006)
Text Last Updated: 2006-06-14 17:32:54 -0700 (Wed, 14 Jun 2006)
Properties Last Updated: 2006-06-14 17:32:54 -0700 (Wed, 14 Jun 2006)
Checksum: fbfb08319e171bbeab660d257ffe45f1
This more or less looks correct.. except I don't know what replace
If I try to recover from this I do a revert.
This ends up with the "svn info":
Path: File1.txt
Name: File1.txt
URL: http://ghost/svn/sandbox/svntest/trunk/File1.txt
Repository Root: http://ghost/svn/sandbox
Repository UUID: fa1f3b68-fe77-2b4c-a867-e9ce4e4282b3
Revision: 0
Node Kind: file
Schedule: normal
Copied From URL: http://ghost/svn/sandbox/svntest/branches/File1.txt
Copied From Rev: 48
Last Changed Author: jstiff
Last Changed Rev: 48
Last Changed Date: 2006-06-14 17:30:55 -0700 (Wed, 14 Jun 2006)
Text Last Updated: 2006-06-14 17:32:54 -0700 (Wed, 14 Jun 2006)
Properties Last Updated: 2006-06-14 17:35:12 -0700 (Wed, 14 Jun 2006)
Checksum: fbfb08319e171bbeab660d257ffe45f1
So it did "revert" it by changing the schedule. It does not revert the
I can't at this point edit that file because of the state of the svn
Error: Commit failed (details follow):
Error: Entry for 'C:\Temp\Stuff\svntest\trunk\File1.txt' is marked as
Error: for addition. Perhaps you're committing a target that is
Error: inside an unversioned (or not-yet-versioned) directory?
It does let me commit the merge (if there were other files to commit) -
It seems to me that
a) it should be able to handle this. Is this that odd of a use case (or
b) there are issues with revert not fully reverting files scheduled as
c) it can be a real problem to end up with a working copy that differs
Is this indeed an issue?
I think I understand why it's a replace (because there is a file that
Thanks for any help/ideas!
- Jared
|
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.