Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion gets a snapshot of files for a point in time from the past

Tags:

svn

Is there a way using Subversion to get snapshot of the files for a particular point in time?

For example, I want to recreate a build based on how the repository looked at an exact point in time from the past.

like image 282
Steve Kuo Avatar asked Apr 07 '10 23:04

Steve Kuo


People also ask

What is snapshot in SVN?

A snapshot is whatever is there at this point in time, with the latest features and the latest bugs. Many open source projects provide daily snapshots. You'll find CVS snapshots, svn (Subversion) snapshots, Git snapshots, Mercurial (hg) snapshots, Bazaar (bzr) snapshots, etc.

What is the purpose of an SVN Subversion repository?

Subversion is used for maintaining current and historical versions of projects. Subversion is an open source centralized version control system. It's licensed under Apache. It's also referred to as a software version and revisioning control system.

What is a Subversion file?

Subversion (or SVN for short) is a version control system used to manage the files that make up a project as they are changed and modified throughout the life of the project. Subversion is actively managed and maintained by the Apache Software Foundation.


1 Answers

Use svn checkout URL -r TIME, e.g.:

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

like image 132
Edmund Avatar answered Sep 22 '22 15:09

Edmund