[Python-Dev] Subversion repository question - back up to older versions
Oleg Broytmann
phd at mail2.phd.pp.ru
Thu Jun 8 21:20:23 CEST 2006
On Thu, Jun 08, 2006 at 01:52:09PM -0500, skip at pobox.com wrote:
> Maybe this belongs in the dev faq. I didn't see anything there or in the
> Subversion book.
http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.checkout.html
http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.update.html
> I have three Python branches, trunk, release23-maint and release24-maint.
> In the (for example) release24-maint, what svn up command would I use to get
> to the 2.4.2 version? In cvs I'd use something like 'cvs up -r r242'. How
You have to know the branch URL and the revision number. Then do
svn co -r 242 http://svn.example.org/svnroot/branch/
or
svn up -r 242
> do I get a list of tags? In cvs I'd do something like 'cvs log | less'.
Tags and branches in Subversion are just directories in the virtual SVN
filesystem. So you can use svn ls,
http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.list.html
or view the repository via ViewVC. These are python tags:
http://svn.python.org/view/python/tags/ . Here is the tag for 2.4.2:
http://svn.python.org/view/python/tags/r242/
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev
mailing list