I want to commit one server directory contents (all versioned contents of versioned dir already present on server dir) to a new dir on same server using SVNKit (version 1.7).
This new dir can be already present; or have to add/make it at appropriate location based on abs path. (adding new dir to server i can do)
but i am not able to commit source path contents to dest path (already present or newly created).
i understand since I want Server to server commit , Here, there will not be any working copy.
I checked solution mentioned in Committing changed file via SVNKit without local checkout? but couldnt make it work as I am not getting what should source path and what should be dest path.
As a work around, I tried copy functionality, but as u know, with copy, earlier history of files will be retained... I was looking for creating a fresh version of all contents at source path to dest path.
Another thing i tried is making a temp local working copy at c:// drive, checking out code from source to this local dir and then committing it to dest path. but this is not approprriate way :( also, i can not delete the local temp working coopy; it says it contains root so cant be deleted.
Can anybody help me in server to server commit using SVNKit ?
Thanks. -Aditya