You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Southwell <da...@vizion2000.net> on 2007/08/23 15:33:17 UTC

Files from old repository

Hi
I have hit a problem that I have not come across before - I am sure there must 
be a simple solution to it.

I have large amount of code files stored on a developer's winxp system and we 
need to import them into a project maintained on a subversion repository on a 
freebsd server on our local network.. 

The  archive is a back up copies of the working files kept on another 
subversion server that that was destroyed in a fire.  The copies were made by 
a process that removed the .svn files.

If  the files are imported into the current project, as is, they retain their 
old version properties that would conflict with the versioning  of the new 
project.

What is the simplist way to remove the version property information from these 
files, there are a thousands of files in the archive, so they can be imported 
cleanly into the current project and then committed as part of the current 
project into the current repository?

I can move them from the xp system to a unix system and carry out the 
conversion process there, and then transfer them back to the developer's 
system,  if that would be easier. I cannot see a way of doing this via the 
subclipse interface.

If it helps the current project is a Ruby on Rails and is being developed 
using the eclipse IDE with aptana/radrails and subclipse.

Thanks in advance

David

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

Re: Files from old repository

Posted by Matt Sickler <cr...@gmail.com>.
If the copies had their .svn dirs removed, importing them should be no
problem as any svn-related metadata is stored in the .svn dir.
If the .svn dirs are there, then remove them before importing.

On 8/23/07, David Southwell <da...@vizion2000.net> wrote:
> Hi
> I have hit a problem that I have not come across before - I am sure there must
> be a simple solution to it.
>
> I have large amount of code files stored on a developer's winxp system and we
> need to import them into a project maintained on a subversion repository on a
> freebsd server on our local network..
>
> The  archive is a back up copies of the working files kept on another
> subversion server that that was destroyed in a fire.  The copies were made by
> a process that removed the .svn files.
>
> If  the files are imported into the current project, as is, they retain their
> old version properties that would conflict with the versioning  of the new
> project.
>
> What is the simplist way to remove the version property information from these
> files, there are a thousands of files in the archive, so they can be imported
> cleanly into the current project and then committed as part of the current
> project into the current repository?
>
> I can move them from the xp system to a unix system and carry out the
> conversion process there, and then transfer them back to the developer's
> system,  if that would be easier. I cannot see a way of doing this via the
> subclipse interface.
>
> If it helps the current project is a Ruby on Rails and is being developed
> using the eclipse IDE with aptana/radrails and subclipse.
>
> Thanks in advance
>
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

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

Re: Files from old repository

Posted by Rainer Sokoll <R....@intershop.de>.
On Thu, Aug 23, 2007 at 08:33:17AM -0700, David Southwell wrote:

> If  the files are imported into the current project, as is, they retain their 
> old version properties that would conflict with the versioning  of the new 
> project.
> 
> What is the simplist way to remove the version property information from these 
> files,

On a *nix; I'd do:
find . -type d -name .svn | xargs rm -rf ; svn import or simply
svn export and then svn import the results of the export.

Rainer

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