oliverdavies.uk/source/_posts/checkout-specific-revision-svn-command-line.md

23 lines
494 B
Markdown
Raw Normal View History

2015-03-16 21:18:03 +00:00
---
title: Checkout a specific revision from SVN from the command line
2020-03-08 14:32:13 +00:00
date: 2012-05-23
2018-12-31 12:13:05 +00:00
excerpt: How to checkout a specific revision from a SVN (Subversion) repository.
2015-03-16 21:18:03 +00:00
tags:
2015-06-14 02:27:41 +00:00
- svn
- version-control
2015-03-16 21:18:03 +00:00
---
2015-06-18 07:58:56 +00:00
How to checkout a specific revision from a SVN (Subversion) repository.
2015-03-16 21:18:03 +00:00
If you're checking out the repository for the first time:
2017-03-16 08:09:52 +00:00
```language-bash
$ svn checkout -r 1234 url://repository/path
```
2015-03-16 21:18:03 +00:00
If you already have the repository checked out:
2017-03-16 08:09:52 +00:00
```language-bash
$ svn up -r 1234
```