summaryrefslogtreecommitdiff
path: root/git/refs/__init__.py
blob: e5fb08684c821d6e5bd30b4b55786fc1aadb9b4a (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):
    setattr(symbolic.SymbolicReference, item.__name__ + 'Cls', item)
del(symbolic)


from log import *