You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alain <ar...@skynet.be> on 2008/09/25 21:21:17 UTC

Converting from VSS to SVN

Hello,

I am quite new to SVN and TortoiseSVN as client.
I have been able to transfer my VSS repository to SVN under Windows.
But between the last version under VSS and the one under my directories,
many changes have occurred in many source files.
Problem is : I am unable to check in the files of my local directory to
the SVN repository.
Do I have to
- first copy all files of my local directory in a temporary one,
- then delete these files,
- export the files from the SVN repository (they come from VSS),
- replace them with the contain of the temporary files
- finally check in to take the modifications into account

Or is there a more simple way to check in my files in my new SVN
repository where VSS projects have just been imported ?

I thank you for your help and apologize for what is maybe a trivial
question for experienced users!

Regards

Alain


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Converting from VSS to SVN

Posted by Alain <ar...@skynet.be>.
Frank Gruman a écrit :
> On Thu, 2008-09-25 at 20:31 -0500, Ryan Schmidt wrote:
>> On Sep 25, 2008, at 16:21, Alain wrote:
> 
>>> Do I have to
>>> - first copy all files of my local directory in a temporary one,
>>> - then delete these files,
>>> - export the files from the SVN repository (they come from VSS),
>>> - replace them with the contain of the temporary files
>>> - finally check in to take the modifications into account
>>>
>>> Or is there a more simple way to check in my files in my new SVN
>>> repository where VSS projects have just been imported ?
> 
> With a few assumptions, I think you want this:
> 
> (Assumption 1)  Your files all exist in some fixed location on your
> machine for build dependencies, and that location currently has your
> 'old' source files.  If not, you could just start at step 3.
> (Assumption 2) Your posting said you had already migrated from VSS to
> SVN, so we assume you have a working repository.
> 
> Step 1 - As you said, copy those files out to a safe location to avoid
> anything being overwritten.
> Step 2 - Delete the files and folders in that hierarchy to make the
> folder structure clean.
> Step 3 - Check out the existing files from Subversion into your desired
> file location.
>     - You should now have a functioning working copy.
> Step 4 - Copy the previous files over top of the working copy.
> Step 5 - Check in the working copy either as one large commit, or (even
> better) commit them as logically grouped changes for better record
> keeping
> 
> Hope that helps!
> 
> Regards,
> Frank

Frank and Ryan,

Sure it helps! It confirms what I suspected. I'll proceed like written
above.

Thanks a lot for your help.

Regards,

Alain


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Converting from VSS to SVN

Posted by Frank Gruman <fg...@verizon.net>.
On Thu, 2008-09-25 at 20:31 -0500, Ryan Schmidt wrote:
> On Sep 25, 2008, at 16:21, Alain wrote:

> > Do I have to
> > - first copy all files of my local directory in a temporary one,
> > - then delete these files,
> > - export the files from the SVN repository (they come from VSS),
> > - replace them with the contain of the temporary files
> > - finally check in to take the modifications into account
> >
> > Or is there a more simple way to check in my files in my new SVN
> > repository where VSS projects have just been imported ?

With a few assumptions, I think you want this:

(Assumption 1)  Your files all exist in some fixed location on your
machine for build dependencies, and that location currently has your
'old' source files.  If not, you could just start at step 3.
(Assumption 2) Your posting said you had already migrated from VSS to
SVN, so we assume you have a working repository.

Step 1 - As you said, copy those files out to a safe location to avoid
anything being overwritten.
Step 2 - Delete the files and folders in that hierarchy to make the
folder structure clean.
Step 3 - Check out the existing files from Subversion into your desired
file location.
    - You should now have a functioning working copy.
Step 4 - Copy the previous files over top of the working copy.
Step 5 - Check in the working copy either as one large commit, or (even
better) commit them as logically grouped changes for better record
keeping

Hope that helps!

Regards,
Frank



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Converting from VSS to SVN

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 25, 2008, at 16:21, Alain wrote:

> I am quite new to SVN and TortoiseSVN as client.
> I have been able to transfer my VSS repository to SVN under Windows.
> But between the last version under VSS and the one under my  
> directories,
> many changes have occurred in many source files.
> Problem is : I am unable to check in the files of my local  
> directory to
> the SVN repository.
> Do I have to
> - first copy all files of my local directory in a temporary one,
> - then delete these files,
> - export the files from the SVN repository (they come from VSS),
> - replace them with the contain of the temporary files
> - finally check in to take the modifications into account
>
> Or is there a more simple way to check in my files in my new SVN
> repository where VSS projects have just been imported ?

I believe you're saying that have a directory that you imported into  
Subversion (or that you converted your VSS repository to a SVN  
repository using some script) and then you continued making changes  
to the directory you had been using with VSS instead of checking out  
a working copy from Subversion, and now you want to commit those  
changes to your Subversion repository?

You must check out a working copy from your Subversion repository in  
order to be able to make changes to it.

If you have at least Subversion 1.5, you can turn an existing  
directory into a working copy by using "svn checkout --force". I  
don't know what will happen if you do this with a directory that  
already has modifications. I recommend making a copy of the directory  
first, just in case.


Someone should update this FAQ entry:

http://subversion.tigris.org/faq.html#in-place-import

Because the issue it references has been resolved:

http://subversion.tigris.org/issues/show_bug.cgi?id=1328


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org