equal
deleted
inserted
replaced
656 args = pycompat.maplist(util.expandpath, self.givenargs) |
656 args = pycompat.maplist(util.expandpath, self.givenargs) |
657 return aliasargs(self.fn, args) |
657 return aliasargs(self.fn, args) |
658 |
658 |
659 def __getattr__(self, name): |
659 def __getattr__(self, name): |
660 adefaults = { |
660 adefaults = { |
661 r'norepo': True, |
661 'norepo': True, |
662 r'intents': set(), |
662 'intents': set(), |
663 r'optionalrepo': False, |
663 'optionalrepo': False, |
664 r'inferrepo': False, |
664 'inferrepo': False, |
665 } |
665 } |
666 if name not in adefaults: |
666 if name not in adefaults: |
667 raise AttributeError(name) |
667 raise AttributeError(name) |
668 if self.badalias or util.safehasattr(self, b'shell'): |
668 if self.badalias or util.safehasattr(self, b'shell'): |
669 return adefaults[name] |
669 return adefaults[name] |