Mercurial > hg-stable
changeset 15305:683f417fa538 stable
largefiles: tidy imports
- no need to defensively import scmutil
- remove duplicate
- unwrap non-long line
author | Greg Ward <greg@gerg.ca> |
---|---|
date | Sun, 16 Oct 2011 10:29:51 -0400 |
parents | 9aa9d4bb3d88 |
children | 94527d67f3da |
files | hgext/largefiles/overrides.py hgext/largefiles/reposetup.py |
diffstat | 2 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Tue Oct 18 20:06:23 2011 -0400 +++ b/hgext/largefiles/overrides.py Sun Oct 16 10:29:51 2011 -0400 @@ -11,17 +11,11 @@ import os import copy -from mercurial import hg, commands, util, cmdutil, match as match_, node, \ - archival, error, merge +from mercurial import hg, commands, util, cmdutil, scmutil, match as match_, \ + node, archival, error, merge from mercurial.i18n import _ from mercurial.node import hex from hgext import rebase -import lfutil - -try: - from mercurial import scmutil -except ImportError: - pass import lfutil import lfcommands
--- a/hgext/largefiles/reposetup.py Tue Oct 18 20:06:23 2011 -0400 +++ b/hgext/largefiles/reposetup.py Sun Oct 16 10:29:51 2011 -0400 @@ -12,8 +12,7 @@ import os import re -from mercurial import context, error, manifest, match as match_, \ - node, util +from mercurial import context, error, manifest, match as match_, node, util from mercurial.i18n import _ import lfcommands