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

RE: svn version in other format

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 9 Nov 2011 09:24:58 +0000

> -----Original Message-----
> From: Ulrich Eckhardt [mailto:ulrich.eckhardt_at_dominolaser.com]
> Sent: 09 November 2011 08:43
> To: users_at_subversion.apache.org
> Subject: Re: svn version in other format
> Am 09.11.2011 07:59, schrieb sureshkumar nandakumar:
> > I need SVN branch all the files along with all the versions
> > in zip or tarformat.
> >
> > I Know using svn dump, we can take svn branch all the files
> > along with versions.
> >
> > But it can be read only if we load any SVN repository.
> >
> > Instead of loading the dump files in some other repository,
> > I want to get all the files along with all the version in
> > tar or zip format.
> >
> > If I extract tar or zip file in any location which is not
> > related to SVN, I should find all the files along with all
> > version.
> Hi!
> To be honest, I don't understand your description of what you
> want to do. It would also be better to ask how to achieve
> something instead of asking for a specific (possibly bad) way
> to do something. Understanding the goals often helps giving
> better advices.
> That said, if I understand you correctly, you want to store
> zip files and tar files of certain versions (I guess the tags
> of your code) in the repository. You can do that easily, just
> put them in there.

I think the OP wants a way to package up the complete history of e.g. a branch in e.g. a zip file and be able to unzip that somewhere outside subversion and still see all the history. Quite why is a mystery.

> However, I don't get why you would want to dump/load a
> repository. If you want to get at older revisions in the
> repository, you have been missing that this is always
> possible, just specify the "-r" option for update or
> checkout. These are basics, btw, so you should really
> reread the documentation!
> Cheers!
> Uli

My short answer to the OP is: there is no simple way to do this. It is not something that subversion is designed for. You could do it by hand with quite a lot of effort (writing a script would probably help). Like Uli said, perhaps if you tell us why we might be able to help better.

~ mark c
Received on 2011-11-09 10:25:39 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.