This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md

22 lines
490 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
slug: checkout-specific-revision-svn-command-line
tags:
2015-06-14 02:27:41 +00:00
- svn
- version-control
2016-12-29 16:32:52 +00:00
use: [posts]
2015-03-16 21:18:03 +00:00
---
2015-06-18 07:58:56 +00:00
{% block excerpt %}
How to checkout a specific revision from a SVN (Subversion) repository.
{% endblock %}
{% block content %}
2015-03-16 21:18:03 +00:00
If you're checking out the repository for the first time:
2015-06-14 02:27:41 +00:00
svn checkout -r 1234 url://repository/path
2015-03-16 21:18:03 +00:00
If you already have the repository checked out:
2015-06-14 02:27:41 +00:00
svn up -r 1234
2015-06-18 07:58:56 +00:00
{% endblock %}