Subversion takes a snapshot of files over a specific period of time from the past

Can Subversion be used to take snapshots of files for a specific point in time?

For example, I want to recreate an assembly based on how the store looked at a certain point in time from the past.

+6
svn
source share
3 answers

Use svn checkout URL -r TIME , for example:

 svn checkout http://server/repos/project/trunk -r {"2010-04-01 09:37:00"} 

See http://svnbook.red-bean.com/nightly/en/svn.tour.revs.specifiers.html

+8
source share

Use svn log to find the version corresponding to the point in time, then svn co -r revision to check this revision.

+1
source share

In essence, if you follow the ITIL and change management procedure, then you should have tags that match the history of your application being released from the SVN repository over a period of time.

All you have to do is check the code based on a specific tag, and that tag will represent how your application looked at a particular point in time.

A repository can look like a lot of things over a period of time, as many different developers can work with different projects. Tags allow you to centralize your efforts in more concentrated areas of your storage.

Hope this will give you an idea of ​​basic management.

In essence, use the tags or version numbers that SVN provides, or the SVN log if you don't have this documented.

0
source share

All Articles