RonnyPfannschmidt / anyvc
generic vcs abstraction (used in pida)
Clone this repository (size: 300.7 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/RonnyPfannschmidt/anyvc/
| commit 158: | 2b2eab534659 |
| parent 157: | e27e733429a0 |
| branch: | default |
fix git repo creation
- View RonnyPfannschmidt's profile
-
RonnyPfannschmidt's public repos »
- pida-patches
- vimish
- pida-hacks
- virtualenvmanager
- py-virtualenv
- distribute-0.6
- distribute-resources
- pytest-codecheckers
- py-execnet3k
- gexcept
- glashammer-main
- flatland-htmlwidgets
- django-vcstorage-new-anyvc
- hgpaste
- chrome-markman
- apipkg
- kij
- gtkarchitect-main
- gazpacho
- plugpost
- rope-qickfix
- pyscope
- anyvc
- prolog
- Send message
10 months ago
Changed (Δ45 bytes):
raw changeset »
anyvc/repository/git.py (2 lines added, 1 lines removed)
Up to file-list anyvc/repository/git.py:
| … | … | @@ -14,7 +14,8 @@ class GitRepository(Repository): |
14 |
14 |
def __init__(self, path, create=False): |
15 |
15 |
if create: |
16 |
16 |
#XXX: fragile |
17 |
|
|
17 |
if not os.path.exists(path): |
|
18 |
os.mkdir(path) |
|
18 |
19 |
subprocess.check_call(['git', 'init'], cwd=path, stdout=None, stdin=None) |
19 |
20 |
|
20 |
21 |
def __len__(self): |
