##// END OF EJS Templates
fix errors reported by pyflakes test
Sune Foldager -
r14184:4ab6e2d5 default
parent child Browse files
Show More
@@ -7,7 +7,7
7
7
8 from node import nullid, short
8 from node import nullid, short
9 from i18n import _
9 from i18n import _
10 import util, error, setdiscovery, treediscovery
10 import util, setdiscovery, treediscovery
11
11
12 def findcommonincoming(repo, remote, heads=None, force=False):
12 def findcommonincoming(repo, remote, heads=None, force=False):
13 """Return a tuple (common, anyincoming, heads) used to identify the common
13 """Return a tuple (common, anyincoming, heads) used to identify the common
@@ -661,7 +661,7 class localrepository(repo.repository):
661 if 'l' in flags:
661 if 'l' in flags:
662 self.wopener.symlink(data, filename)
662 self.wopener.symlink(data, filename)
663 else:
663 else:
664 fp = self.wopener.write(filename, data)
664 self.wopener.write(filename, data)
665 if 'x' in flags:
665 if 'x' in flags:
666 util.set_flags(self.wjoin(filename), False, True)
666 util.set_flags(self.wjoin(filename), False, True)
667
667
General Comments 0
You need to be logged in to leave comments. Login now