forked from tmm1/matzruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
67 lines (47 loc) · 2.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
= Overview
This is a full git mirror of Matz' Ruby Subversion repository.
It contains *FULL* MRI history, right from the revision 1,
including most branches and all tags.
Currently, the repository is updated manually but quite
often so that the changes are at most a few days old.
This repository is supposed to be used as any other read-only GIT
repository, with periodic pulls or fetches. Do *not* use
git svn command on your clone, there is no need.
= Branches
The master branch of this repository is intentionally empty
and contains only this README.
Once you've cloned the repo, invoke 'git branch -a' to see a list
of all available branches or invoke 'git tag -l ' to see a list
of all available tags. Then just create a local branch to track
the remote branch:
git checkout -b trunk origin/trunk
All you have to do now is invoking 'git pull' from time
to time to get the latest updates in your branch.
*NOTE*: If the tags in your repo are not being updated over
time and you don't see newer tags, invoke 'git fetch -t', this
will force git go fetch all currently available tags.
Most interesting branches:
* trunk - The current development branch (1.9 dev)
* ruby_1_8 - 1.8.* series dev line
* ruby_1_8_7 - 1.8.7 maint line (bugfixes only)
* ruby_1_8_6 - 1.8.6 maint line (bugfixes only)
Typically, the changes are first done on trunk, and then
they are backported to ruby_1_8, and picked up by maintainers
and further backported to ruby_1_8_7 and in some cases even
to ruby_1_8_6.
Clearly, you could also switch to any other branch of your
interest, including ALL patchlevel tags.
= Converting to git-svn repository
If you really wish to have you local clone to be a full
"git-svn repository" (so that you could fetch the data
from the main repository yourself), it also can be done,
by doing so:
git svn init --prefix=origin/ --stdlayout \
http://svn.ruby-lang.org/repos/ruby
(this assumes that the remote repo is known in your
local clone as "origin")
git svn fetch --all
It would take a while to update all the branches (1-2 hours),
but still much, much faster than cloning the Ruby subversion
repository from scratch (which would take 12-15 hours).
Enjoy!