Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Hi, I have two problems when creating a tag from a mixed rev working copy. Both problems are caused by a rename (copy+delete) from the past inside. One case is a directory, here I get the following error, is the deleted local directory path: Working copy not locked; this is probably a bug, please report svn: Directory '' is missing Can't find a working copy path svn: Directory '' is missing Other case is a file, here I get the following error, is the deleted file (relative path), is the tag path: Working copy is not up-to-date svn: Commit failed (details follow): svn: File '' is out of date Filesystem has no item svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' path not found Can I do anything to create the tag/copy somehow? Because of the mixed rev working copy copying from head or a rev is not an option. Thank you in advance, Wolfgang
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Wolfgang Röckelein wrote on Wed, Jun 15, 2011 at 10:05:16 +0200: > Hi, > > I have two problems when creating a tag from a mixed rev working copy. Both > problems are caused by a rename (copy+delete) from the past inside. > > One case is a directory, here I get the following error, is the deleted > local directory path: > Working copy not locked; this is probably a bug, please report > svn: Directory '' is missing > Can't find a working copy path > svn: Directory '' is missing > > Other case is a file, here I get the following error, is the deleted file > (relative path), is the tag path: > Working copy is not up-to-date > svn: Commit failed (details follow): > svn: File '' is out of date > Filesystem has no item > svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' path > not found > > Can I do anything to create the tag/copy somehow? Because of the mixed rev > working copy copying from head or a rev is not an option. > svnmucc, or URL-URL copy then checkout the tag and commit changes the usual way. > Thank you in advance, > Wolfgang
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Daniel Shahaf wrote: > Wolfgang Röckelein wrote on Wed, Jun 15, 2011 at 10:05:16 +0200: >> I have two problems when creating a tag from a mixed rev working copy. Both >> problems are caused by a rename (copy+delete) from the past inside. >> >> One case is a directory, here I get the following error, is the deleted >> local directory path: >> Working copy not locked; this is probably a bug, please report >> svn: Directory '' is missing >> Can't find a working copy path >> svn: Directory '' is missing >> >> Other case is a file, here I get the following error, is the deleted >> file >> (relative path), is the tag path: >> Working copy is not up-to-date >> svn: Commit failed (details follow): >> svn: File '' is out of date >> Filesystem has no item >> svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' >> path >> not found >> >> Can I do anything to create the tag/copy somehow? Because of the mixed rev >> working copy copying from head or a rev is not an option. > > svnmucc, or URL-URL copy then checkout the tag and commit changes the > usual way. URL-URL copy will not work because of the mixed rev working copy. The problem is not outstanding commit in the WC but the mixed rev! I can also not see how svnmucc would help me here. Thank you, Wolfgang
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Wolfgang Röckelein wrote on Thu, Jun 16, 2011 at 08:45:18 +0200: > Daniel Shahaf wrote: > > Wolfgang Röckelein wrote on Wed, Jun 15, 2011 at 10:05:16 +0200: > >> I have two problems when creating a tag from a mixed rev working copy. Both > >> problems are caused by a rename (copy+delete) from the past inside. > >> > >> One case is a directory, here I get the following error, is the > >> deleted > >> local directory path: > >> Working copy not locked; this is probably a bug, please report > >> svn: Directory '' is missing > >> Can't find a working copy path > >> svn: Directory '' is missing > >> > >> Other case is a file, here I get the following error, is the deleted > >> file > >> (relative path), is the tag path: > >> Working copy is not up-to-date > >> svn: Commit failed (details follow): > >> svn: File '' is out of date > >> Filesystem has no item > >> svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' > >> path > >> not found > >> > >> Can I do anything to create the tag/copy somehow? Because of the mixed rev > >> working copy copying from head or a rev is not an option. > > > > svnmucc, or URL-URL copy then checkout the tag and commit changes the > > usual way. > > URL-URL copy will not work because of the mixed rev working copy. The problem > is > not outstanding commit in the WC but the mixed rev! I can also not see how > svnmucc would help me here. > 2. svnmucc -mm cp $U/trunk $U/tags/foo rm $U/tags/foo/subd cp 42 $U/trunk/foo/subd $U/tags/foo/subd Have a look at 'svn log -qv' of a mixed-revision-working-copy tag... that's what it does. 1. svn cp ^/trunk ^/tags/foo -m "tagging part 1" svn sw ^/tags/foo svn rm subd svn cp ^/trunk/subd@42 subd svn ci -m "Backdate subd, completing the tag" > Thank you, > Wolfgang
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
On Wed, Jun 15, 2011 at 10:05:16AM +0200, Wolfgang Röckelein wrote: > Hi, > > I have two problems when creating a tag from a mixed rev working copy. Both > problems are caused by a rename (copy+delete) from the past inside. > > One case is a directory, here I get the following error, is the deleted > local directory path: > Working copy not locked; this is probably a bug, please report > svn: Directory '' is missing > Can't find a working copy path > svn: Directory '' is missing > > Other case is a file, here I get the following error, is the deleted file > (relative path), is the tag path: > Working copy is not up-to-date > svn: Commit failed (details follow): > svn: File '' is out of date > Filesystem has no item > svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' path > not found Which version of Subversion are you using? It's very likely that this problem has been fixed in 1.7. Are you able to test your steps with the 1.7.0-alpha1 release to verify that it has been fixed? Thanks in advance! Depending on your operating system there might even be 1.7.0-alpha1 binaries available you can use, so you won't have to compile your own. But I'm not sure where to link to because you didn't say which OS you are using. (In the future, please consider including a short line like this in your problem reports: "I am using Subversion 1.6.17 on Ubuntu 10.04". As you can tell, knowing this information upfront always helps us :)
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Stefan Sperling wrote: > On Wed, Jun 15, 2011 at 10:05:16AM +0200, Wolfgang Röckelein wrote: >> I have two problems when creating a tag from a mixed rev working copy. Both >> problems are caused by a rename (copy+delete) from the past inside. >> >> One case is a directory, here I get the following error, is the deleted >> local directory path: >> Working copy not locked; this is probably a bug, please report >> svn: Directory '' is missing >> Can't find a working copy path >> svn: Directory '' is missing >> >> Other case is a file, here I get the following error, is the deleted >> file >> (relative path), is the tag path: >> Working copy is not up-to-date >> svn: Commit failed (details follow): >> svn: File '' is out of date >> Filesystem has no item >> svn: '/svn/mobil/!svn/wrk/4263dc38-ec4c-9042-9505-c5fb37cf8ea7//' >> path >> not found > > Which version of Subversion are you using? 1.6.17 on client, 1.6.15 or 1.6.16 on server, I am not sure when the admin last updated. > It's very likely that this problem has been fixed in 1.7. > Are you able to test your steps with the 1.7.0-alpha1 release to > verify that it has been fixed? Thanks in advance! Would I have to change only the client or the server also? Since I can the client easily, however I can't get the server changed to an alpha version... > Depending on your operating system there might even be 1.7.0-alpha1 Client OS is Win32, server OS is Linux. > binaries available you can use, so you won't have to compile your own. > But I'm not sure where to link to because you didn't say which OS you > are using. > > (In the future, please consider including a short line like this > in your problem reports: "I am using Subversion 1.6.17 on Ubuntu 10.04". Ok, sorry. Thank you, Wolfgang
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
On Thu, Jun 16, 2011 at 11:58:31AM +0200, Wolfgang Röckelein wrote: > Stefan Sperling wrote: > > It's very likely that this problem has been fixed in 1.7. > > Are you able to test your steps with the 1.7.0-alpha1 release to > > verify that it has been fixed? Thanks in advance! > > Would I have to change only the client or the server also? Since I can the > client easily, however I can't get the server changed to an alpha version... This is most likely a problem in the working copy, so changing just the client is sufficient. The server doesn't need to be upgraded. It is compatible with any client (sometimes you need to upgrade the server to get access to new features, but in this case that is not relevant). > > Depending on your operating system there might even be 1.7.0-alpha1 > > Client OS is Win32, server OS is Linux. You could not find 1.7.0-alpha1 binaries for windows. But there are other pre-release options which match it very closely. In fact they are even more recent than the alpha-1 release so they should have even less known issues ;) Either get the latest package with command line tools from here: http://ctf.open.collab.net/sf/frs/do/viewRelease/projects.csvn/frs.svn_binaries.windows Or you can try the nightly build of tortoise (it uses the same code internally, the only difference is the graphical interface): http://nightlybuilds.tortoisesvn.net/latest/ Thanks for your help! It's great that you can test this.
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
On Thu, Jun 16, 2011 at 12:21:01PM +0200, Stefan Sperling wrote: > Thanks for your help! It's great that you can test this. I forgot to mention: Please read the 1.7 release notes, especially the section regarding the change of the working copy format: http://subversion.apache.org/docs/release-notes/1.7.html You should probably run your test on a fresh working copy checked out with the 1.7 client. If you upgrade your existing working copies to 1.7 your 1.6 client will not be able to read them anymore! And you cannot downgrade the format from 1.7 to 1.6.
Re: Problem tagging from mixed rev working copy with a rename (copy+delete) from the past inside
Hi Stefan, Stefan Sperling wrote: > On Thu, Jun 16, 2011 at 12:21:01PM +0200, Stefan Sperling wrote: >> Thanks for your help! It's great that you can test this. > > I forgot to mention: Please read the 1.7 release notes, > especially the section regarding the change of the working copy > format: http://subversion.apache.org/docs/release-notes/1.7.html > > You should probably run your test on a fresh working copy checked out I will zip the wc first, so I can restore the current state. Checkout won't help me here, since it is a mixed rev wc and the problems are because of the mixed rev! > with the 1.7 client. If you upgrade your existing working copies to 1.7 > your 1.6 client will not be able to read them anymore! > And you cannot downgrade the format from 1.7 to 1.6. Thank you, Wolfgang