contrib/hgit
changeset 357 1cb3d9d5119e
parent 356 7dec9a46d82a
child 396 8f8bb77d560e
equal deleted inserted replaced
356:7dec9a46d82a 357:1cb3d9d5119e
    59         sys.exit(1)
    59         sys.exit(1)
    60     revs.append(repo.lookup(args[0]))
    60     revs.append(repo.lookup(args[0]))
    61     revs.append(repo.lookup(args[1]))
    61     revs.append(repo.lookup(args[1]))
    62     args = args[2:]
    62     args = args[2:]
    63     if doptions['patch']:
    63     if doptions['patch']:
    64         commands.dodiff(repo, args, *revs)
    64         commands.dodiff(repo, "", args, *revs)
    65     else:
    65     else:
    66         __difftree(repo, args, *revs)
    66         __difftree(repo, args, *revs)
    67 
    67 
    68 def catcommit(repo, n, prefix):
    68 def catcommit(repo, n, prefix):
    69     nlprefix = '\n' + prefix;
    69     nlprefix = '\n' + prefix;