Tahnk so much!!!!!!! For the last answer!!

So, I have a repository in googlecode
(https://example-test-project.googlecode.com/svn/)...


In https://example-test-project.googlecode.com/svn/trunk/Project, I have the
last version of my project.

And In https://example-test-project.googlecode.com/svn/branch/Project, I
have a copy of the last version of my project.

So, I changed code in the branch, so I made commit it.

I need to do a merge betwen branch and trunk..... 

Much easier would be to use SVNKit to do the following: 
1. check out (or update) trunk to the temporary working copy 
2. perform merge into that working copy 
3. commit and optionally delete temporary working copy. 

What function must I use to do this?

Help me!!

(May my error is the path , can you explain me TK)



Hammarback wrote:
> 
> Looks like you did not initialize SVNKit properly.
> 
> Add any/all of:
>     DAVRepositoryFactory.setup();
>     SVNRepositoryFactoryImpl.setup();
>     FSRepositoryFactory.setup();
> 
> Regards
> Jesper
> 
> 
> 2011/6/1 Healpiar <[email protected]>:
>>
>> Hello all.
>>
>>
>> I'm new in SVNkit, I was trying run this code:
>>
>> ///////////////////////////////////////////////////////////////////////
>>
>> import org.tmatesoft.svn.core.*;
>> import org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions;
>> import org.tmatesoft.svn.core.wc.*;
>>
>> import java.io.File;
>>
>> public class WorkingCopy {
>>
>>        public static void main (String ars[]){
>>                        ISVNOptions options =
>> SVNWCUtil.createDefaultOptions(true);
>>                        SVNClientManager clientManager =
>> SVNClientManager.newInstance((DefaultSVNOptions) options,
>> "[email protected]", "YX7zv8aU9Qd9") ;
>>                        SVNUpdateClient myClient =
>> clientManager.getUpdateClient();
>>
>>                        String repositoryPath =
>> "https://land-use.googlecode.com/svn/";;
>>                        File dstPath = new File("file:///C:/Pruebas/");
>>                        try{
>>                              
>>  myClient.doCheckout(SVNURL.parseURIDecoded(repositoryPath), dstPath,
>> http://old.nabble.com/file/p31750965/WorkingCopy.java WorkingCopy.java
>> SVNRevision.UNDEFINED, SVNRevision.HEAD, true);
>>                        }catch(SVNException e){
>>                                System.out.print(e.getMessage());
>>                        }
>>        }
>> }
>>
>>
>> ///////////////////////////////////////////////////////////////////////
>>
>>
>> So, appeared this exception:
>>
>> svn: Unable to create SVNRepository object for
>> 'https://land-use.googlecode.com/svn'
>>
>> Helpme!!!!
>> --
>> View this message in context:
>> http://old.nabble.com/Checking-out-%22-svn%3A-Unable-to-create-SVNRepository-object-for-%27https%3A--land-use.googlecode.com-svn%27-%22-tp31750965p31750965.html
>> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>>
>>
>>
> 
> 
> 



-- 
View this message in context: 
http://old.nabble.com/Checking-out-%22-svn%3A-Unable-to-create-SVNRepository-object-for-%27https%3A--land-use.googlecode.com-svn%27-%22-tp31750965p31761999.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to