# HG changeset patch # User Na'Tosha Bard # Date 1331309467 -3600 # Node ID 51e6f318bdf1c090783109c7051d22cad5d1306c # Parent d87d9d8a8e037a3b652c9387e6f7330ad5df8965 largefiles: fix check-code errors. diff -r d87d9d8a8e03 -r 51e6f318bdf1 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Fri Mar 09 16:11:52 2012 +0100 +++ b/hgext/largefiles/overrides.py Fri Mar 09 17:11:07 2012 +0100 @@ -428,8 +428,8 @@ try: try: - # When we call orig below it creates the standins but we don't add them - # to the dir state until later so lock during that time. + # When we call orig below it creates the standins but we don't add + # them to the dir state until later so lock during that time. wlock = repo.wlock() manifest = repo[None].manifest() diff -r d87d9d8a8e03 -r 51e6f318bdf1 hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py Fri Mar 09 16:11:52 2012 +0100 +++ b/hgext/largefiles/reposetup.py Fri Mar 09 17:11:07 2012 +0100 @@ -313,7 +313,8 @@ # removed/renamed) for lfile in lfiles: if lfile in modifiedfiles: - if os.path.exists(self.wjoin(lfutil.standin(lfile))): + if os.path.exists( + self.wjoin(lfutil.standin(lfile))): # this handles the case where a rebase is being # performed and the working copy is not updated # yet. diff -r d87d9d8a8e03 -r 51e6f318bdf1 tests/test-check-code-hg.t --- a/tests/test-check-code-hg.t Fri Mar 09 16:11:52 2012 +0100 +++ b/tests/test-check-code-hg.t Fri Mar 09 17:11:07 2012 +0100 @@ -202,12 +202,6 @@ hgext/keyword.py:0: > ui.note("hg ci -m '%s'\n" % msg) warning: unwrapped ui message - hgext/largefiles/overrides.py:0: - > # When we call orig below it creates the standins but we don't add them - warning: line over 80 characters - hgext/largefiles/reposetup.py:0: - > if os.path.exists(self.wjoin(lfutil.standin(lfile))): - warning: line over 80 characters hgext/mq.py:0: > raise util.Abort(_("cannot push --exact with applied patches")) warning: line over 80 characters