equal
deleted
inserted
replaced
338 revs = [] |
338 revs = [] |
339 if opts['rev']: |
339 if opts['rev']: |
340 revs = map(lambda x: repo.lookup(x), opts['rev']) |
340 revs = map(lambda x: repo.lookup(x), opts['rev']) |
341 |
341 |
342 if len(revs) > 2: |
342 if len(revs) > 2: |
343 self.ui.warn("too many revisions to diff\n") |
343 ui.warn("too many revisions to diff\n") |
344 sys.exit(1) |
344 sys.exit(1) |
345 |
345 |
346 if files: |
346 if files: |
347 files = relpath(repo, files) |
347 files = relpath(repo, files) |
348 else: |
348 else: |