projects
/
mass-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0ee4d14
)
Make sure an updated git URL is used
author
Ralf Jung
<post@ralfj.de>
Wed, 1 Aug 2012 19:51:33 +0000
(21:51 +0200)
committer
Ralf Jung
<post@ralfj.de>
Wed, 1 Aug 2012 19:51:33 +0000
(21:51 +0200)
vcs.py
patch
|
blob
|
history
diff --git
a/vcs.py
b/vcs.py
index f40c6e9c4e8915b7549668e49cbf9e9ced0c6346..e30d31a9cb4d24e02483ea0cd261ae7eb4544267 100644
(file)
--- a/
vcs.py
+++ b/
vcs.py
@@
-24,6
+24,7
@@
class Git:
# load existing repo
repo = git.Repo(self.folder)
origin = repo.remotes.origin
# load existing repo
repo = git.Repo(self.folder)
origin = repo.remotes.origin
+ origin.config_writer.set_value("url", self.url) # make sure we use the current URL
else:
# create a new one
os.makedirs(self.folder)
else:
# create a new one
os.makedirs(self.folder)