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