comparison treepkg/git.py @ 561:1f7746e2288e

Fix typo
author Bjoern Ricks <bricks@intevation.de>
date Fri, 02 Sep 2011 09:43:21 +0000
parents 19a3051caebd
children e188e780977b
comparison
equal deleted inserted replaced
560:19a3051caebd 561:1f7746e2288e
76 all_branches = [] 76 all_branches = []
77 for tbranch in branches: 77 for tbranch in branches:
78 tbranch = tbranch.strip() 78 tbranch = tbranch.strip()
79 if tbranch.startswith("*"): 79 if tbranch.startswith("*"):
80 cur_branch = tbranch[2:] 80 cur_branch = tbranch[2:]
81 tbranch = curbranch 81 tbranch = cur_branch
82 all_branches.append(tbranch) 82 all_branches.append(tbranch)
83 if not self.local_branch in all_branches: 83 if not self.local_branch in all_branches:
84 self.checkout_branch(localdir) 84 self.checkout_branch(localdir)
85 # TODO: check if self.local_branch is curbranch 85 # TODO: check if self.local_branch is curbranch
86 # doesn't hurt if a checkout is done on the current branch 86 # doesn't hurt if a checkout is done on the current branch
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)