blob: 4d8e2a3116d0f4b0a2c36732244dd8aee857fb4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# import all modules in order, fix the names they require
from symbolic import *
from reference import *
from headref import *
from head import *
from tag import *
from remote import *
# name fixes
import headref
headref.Head.RemoteReferenceCls = RemoteReference
del(headref)
import symbolic
for item in (HEAD, Head, RemoteReference, TagReference, Reference, SymbolicReference):
setattr(symbolic.SymbolicReference, item.__name__+'Cls', item)
del(symbolic)
from log import *
|