Compare commits
No commits in common. "4e952c37461b3bf0e0f0951270596bcfea511fe7" and "88f0a11612e83a004706dfe69acedcdd91a0e056" have entirely different histories.
4e952c3746
...
88f0a11612
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception
|
from django.contrib.gis.geoip2 import GeoIP2, GeoIP2Exception2
|
||||||
|
|
||||||
import ox
|
import ox
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -316,14 +316,14 @@ if __name__ == "__main__":
|
||||||
if exists(path):
|
if exists(path):
|
||||||
os.chdir(path)
|
os.chdir(path)
|
||||||
current_branch = get_branch(path)
|
current_branch = get_branch(path)
|
||||||
revno = get_version(path)
|
|
||||||
if repo == 'pandora':
|
if repo == 'pandora':
|
||||||
pandora_old_revno = revno
|
pandora_old_revno = revno
|
||||||
current += revno
|
|
||||||
if current_branch != branch:
|
if current_branch != branch:
|
||||||
run('git', 'remote', 'set-branches', 'origin', '*')
|
run('git', 'remote', 'set-branches', 'origin', '*')
|
||||||
run('git', 'fetch', 'origin')
|
run('git', 'fetch', 'origin')
|
||||||
run('git', 'checkout', branch)
|
run('git', 'checkout', branch)
|
||||||
|
revno = get_version(path)
|
||||||
|
current += revno
|
||||||
url = repos[repo]['url']
|
url = repos[repo]['url']
|
||||||
print('Checking', repo)
|
print('Checking', repo)
|
||||||
run('git', 'pull')
|
run('git', 'pull')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue