[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Exe files corrupted in SVN after import from CVS

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Sun, 21 Jan 2018 21:09:58 +0100

On Sat, 20 Jan 2018 13:19:26 -0500, Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:

>I suspect you can simplify the whole situation a great deal by moving
>at least this project to its own Subversion repository. You should be
>able to to at least test and debug ideas by doing a cvs2svn of just
>that project and trying out ideas. And you can import that into a
>local working Subversion repository, rather than touching the primary
>repository at all.
>

I am leaning toward a completely different approach now concerning the PC (Windows) software development repository:

1) I leave the CVS server running but I confgure it as read-only.
   This makes it possible for people to export older stuff if needed.

2) I export trunk of the projects that need to be worked on from CVS

3) I start over with an empty SVN repository and import the exported
   projects into SVN, so they are the first revision there.

This way svn will be a smaller size and the content should be OK since the projects are not *converted* from CVS but imported as regular normal projects.

We also use CVS (and now SVN) as a store for drawings and printed circuit board projects (PCB).

We are using an engineering repository for these but I found that the converted structure is less than optimal when using SVN because of the tags and branches directories. In CVS we have a subdirectory for drawing sources (DWG) and another for PDF versions (PDF) and also a subdirectory for the boards (PCB). Like this:
REPO
 |-DWG
 |-PDF
 |-PCB
 |-and a few more that do not have sub-containers

These subdirectories were treated as "projects" during conversion, which has led to a problem since there is now only one tags, trunk and brances dir for ALL of the drawings and another set for all PCB:s etc.

So when I looked at the converted repository there is a total mess in the tags directory because we have used tag names like Rev_A, Rev_B etc for almost all PCB:s and now these are merged and contains an assortment of different unrelated projects...
In CVS the tag was a property of any given *file* but in SVN it is on a whole directory, or really not even this...
It is just a copy of the directory with a different name, not a property of the directory...

Seems like I have to scrap the conversion also for Engineering and do something else, but what? Separate repositories for drawings, PDF releases and PCB:s maybe?

Regards,
Bo B

(PS: Had to send this as regular email since the posting I made through Gmane seems to have disappeared. DS)
Received on 2018-01-21 23:56:52 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.