|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
issue with svn moveHello,
I have used 1.1.7 version of SVNKit and "http" protocol to access the repository. I am trying to Move a URL to its parent level. Steps to reproduce : 1) have a structure in repository like ...A/B/C/D 2) Move the D under B or A [D can be a file or directory] It is creating a new revision with out moving the URL. Is there a way to overcome this issue? I have attached the SVN Debug Log with this post... Please help me to resolve this issue.. Thanks S.Prabhu svnkit.log |
|
|
Re: issue with svn moveHello,
Could you please also post the code you use to perform move operation? Do you use SVNCopyClient.doCopy method with move parameter set to "true"? Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! S Prabhu wrote: > Hello, > > I have used 1.1.7 version of SVNKit and "http" protocol to access the > repository. > I am trying to Move a URL to its parent level. > Steps to reproduce : > 1) have a structure in repository like ...A/B/C/D > 2) Move the D under B or A > [D can be a file or directory] > It is creating a new revision with out moving the URL. > Is there a way to overcome this issue? > > I have attached the SVN Debug Log with this post... > Please help me to resolve this issue.. > > Thanks > S.Prabhu > http://www.nabble.com/file/p17777031/svnkit.log svnkit.log --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: issue with svn moveHi Alexander,
Yes, i have used the following code to perform the process svnClientManager.getCopyClient().doCopy (srcURL, SVNRevision.HEAD, destURL, true, commitMessage); Thanks S Prabhu
|
|
|
Re: issue with svn moveHello,
I've tested this with 1.1.7 and indeed there is an issue with URL:URL move/copy operation. The following move will not work properly: move http://host/repos/A/B/C/D http://host/repos/A/B even when "failIfDstExists" parameter is set to false. Instead move will result in no-op, empty commit. To workaround this issue, please use full URL of the destination, not its parent's URL: move http://host/repos/A/B/C/D http://host/repos/A/B/D and http://host/repos/A/B/D shouldn't exist prior to move operation. And of course we'll fix this issue soon in 1.1.x branch. There is also no such issue in "trunk" version of SVNKit. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! S Prabhu wrote: > Hi Alexander, > > Yes, i have used the following code to perform the process > > svnClientManager.getCopyClient().doCopy (srcURL, SVNRevision.HEAD, destURL, > true, commitMessage); > > Thanks > S Prabhu > > > > Alexander Kitaev-3 wrote: >> Hello, >> >> Could you please also post the code you use to perform move operation? >> Do you use SVNCopyClient.doCopy method with move parameter set to "true"? >> >> Alexander Kitaev, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> S Prabhu wrote: >>> Hello, >>> >>> I have used 1.1.7 version of SVNKit and "http" protocol to access the >>> repository. >>> I am trying to Move a URL to its parent level. >>> Steps to reproduce : >>> 1) have a structure in repository like ...A/B/C/D >>> 2) Move the D under B or A >>> [D can be a file or directory] >>> It is creating a new revision with out moving the URL. >>> Is there a way to overcome this issue? >>> >>> I have attached the SVN Debug Log with this post... >>> Please help me to resolve this issue.. >>> >>> Thanks >>> S.Prabhu >>> http://www.nabble.com/file/p17777031/svnkit.log svnkit.log >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: issue with svn moveHello,
I've just fixed this problem in 1.1.x branch of SVNKit (r4327). You may get SVNKit binaries with the fix at https://teamcity.svnkit.com/ Thank you for reporting this problem. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! S Prabhu wrote: > Hi Alexander, > > Yes, i have used the following code to perform the process > > svnClientManager.getCopyClient().doCopy (srcURL, SVNRevision.HEAD, destURL, > true, commitMessage); > > Thanks > S Prabhu > > > > Alexander Kitaev-3 wrote: >> Hello, >> >> Could you please also post the code you use to perform move operation? >> Do you use SVNCopyClient.doCopy method with move parameter set to "true"? >> >> Alexander Kitaev, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> S Prabhu wrote: >>> Hello, >>> >>> I have used 1.1.7 version of SVNKit and "http" protocol to access the >>> repository. >>> I am trying to Move a URL to its parent level. >>> Steps to reproduce : >>> 1) have a structure in repository like ...A/B/C/D >>> 2) Move the D under B or A >>> [D can be a file or directory] >>> It is creating a new revision with out moving the URL. >>> Is there a way to overcome this issue? >>> >>> I have attached the SVN Debug Log with this post... >>> Please help me to resolve this issue.. >>> >>> Thanks >>> S.Prabhu >>> http://www.nabble.com/file/p17777031/svnkit.log svnkit.log >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: issue with svn moveHi Alexander,
Thanks for your help. I have worked with both options and both are working fine... Thanks S.Prabhu
|
| Free Forum Powered by Nabble | Forum Help |