Show More
@@ -226,6 +226,9 b' class cmdalias(object):' | |||
|
226 | 226 | elif int(m.groups()[0]) <= len(args): |
|
227 | 227 | return m.group() |
|
228 | 228 | else: |
|
229 | ui.debug(_("No argument found for substitution" | |
|
230 | "of %i variable in alias '%s' definition.") | |
|
231 | % (int(m.groups()[0]), self.name)) | |
|
229 | 232 | return '' |
|
230 | 233 | cmd = re.sub(r'\$(\d+|\$)', _checkvar, self.definition[1:]) |
|
231 | 234 | replace = dict((str(i + 1), arg) for i, arg in enumerate(args)) |
General Comments 0
You need to be logged in to leave comments.
Login now