> My former team member had put some code in a public repository
> sometime back.Currently I am the sole team member now and need to
> modify the code.
> I am relatively new to subversion and version control systems in
> general..
> 
> I can checkout the code using
> svn checkout https://myproject.somepublicrepo.com/svn/trunk/
> 
> the source tree structure in repo is
> svn/trunk/src/myproject/One.java
>                                   /Two.java
> 
> I thought of  changing the package structure of code as follows,
> myproject/
>          /build.xml
>          /src
>              /packageone/NewOne.java
>              /packagetwo/Two.java
>          /lib
>          /images
> 
> How should I go about this? should I checkout into a work dir and
> then
> delete all of its contents ,then create the new code structure and
> then commit ?
> Or should I delete the directories from repo first?

No, don't just delete then replace. Use the svn commands to do your 
refactoring. Basically the svn move command. Once you have done all your 
refactoring commit your changes.

Have you read the free svn book? Specifically the "basic usage" chapter?

BOb

Reply via email to