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

Re: point of time dump?

From: Stefan <luke1410_at_posteo.de>
Date: Tue, 19 Jan 2016 21:24:33 +0100

Hi Eric,
> SVN on Linux
> Tortoise on PC's installed
>
> First let me say, I'm the sysadmin, not a developer so they tasked me to get
> this done. I take care of the SVN linux box and making sure it's up and
> running. I can do basic stuff on SVN such as commit and checking out.
>
> But here's something they asked me to do. Mind you, this is all management
> request, not developers.
>
> They (managers) want a dump of code they can look at from say 1 and a half
> years ago. I can do that with Tortoise easy enough. But these managers won't
> have tortoise installed and I'm not going to train them on how to
> "revert/merge/update" tortoise.
>
> I *think* what they want is to be able to dump the repo, from 1.5 years ago, to
> something readable they can look at. They don't want to change anything, they
> just want to be able to see it.
>
> What I typically do for them is just do a check out to my local PC, and burn
> the folder to a CD. Yes, burn to a CD. Old managers have old habits so I
> don't question that.
>
> So what I (they) want is a CD with code that is 1.5 years old.
I'm not totally sure what you are looking for here.
It sounds like all you need is to use the SVN command line client or
provide your managers with a simple batch file they could use.

The commands you are looking for is most likely:
svn co [URL] [PATH] -r {2014-06-01}

Where URL is the URL to the repository and path the path for the local
working copy.
-r {2015-10-31} would then retrieve the code/repository content of the
specified date.

If I don't get you wrong, then all which is left for you to do is to
wrap that up in a nice batch file so that managers could easily call
something like:
getOldCode 1.5y

(or whatever they want)

Regards,
Stefan
Received on 2016-01-19 21:24:46 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.