author | Christian Ebert <blacktrash@gmx.net> |
Fri, 08 Jun 2007 16:05:44 +0200 | |
branch | kwmap-templates |
changeset 161 | aac10ec0a8cd |
parent 160 | e45d804d28dd |
child 162 | 017dbf710056 |
hgkw/keyword.py | file | annotate | diff | comparison | revisions |
--- a/hgkw/keyword.py Fri Apr 20 14:41:35 2007 +0200 +++ b/hgkw/keyword.py Fri Jun 08 16:05:44 2007 +0200 @@ -221,8 +221,6 @@ if not repo.local(): return - archivemode = (getcmd(repo.ui) == 'archive') - inc, exc, archive, noarchive = [], ['.hg*'], [], ['.hg*'] for pat, opt in repo.ui.configitems('keyword'): if opt == 'archive': @@ -233,7 +231,7 @@ exc.append(pat) else: inc.append(pat) - if archivemode: + if getcmd(repo.ui) == 'archive': inc, exc = archive, noarchive if not inc: return