[library-web] force checking out correct branch
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] force checking out correct branch
- Date: Tue, 28 Jan 2014 17:17:18 +0000 (UTC)
commit 2206189ba91585ab07e5e27993b74dfc94bb1454
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Jan 28 17:17:08 2014 +0000
force checking out correct branch
src/lgo.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 8240faa..051b921 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -306,6 +306,8 @@ class Lgo(App):
logging.debug('switching to branch %s' % branch_name)
subprocess.Popen(['git', 'checkout', '-b', branch_name, 'origin/%s' % branch_name],
cwd=module_git_clone_dir).wait()
+ subprocess.Popen(['git', 'checkout', branch_name],
+ cwd=module_git_clone_dir).wait()
subp = subprocess.Popen(['git', 'show-ref', '--verify', '--quiet',
'refs/heads/%s' % branch_name], cwd=module_git_clone_dir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]