mercurial/scmutil.py
changeset 42730 87c4cd89b539
parent 42576 ea6558db1011
child 42731 53c07f08fea1
equal deleted inserted replaced
42729:3cffc7bbec26 42730:87c4cd89b539
  1982     """
  1982     """
  1983     return repo.revs("ancestors(bookmark(%s)) - "
  1983     return repo.revs("ancestors(bookmark(%s)) - "
  1984                      "ancestors(head() and not bookmark(%s)) - "
  1984                      "ancestors(head() and not bookmark(%s)) - "
  1985                      "ancestors(bookmark() and not bookmark(%s))",
  1985                      "ancestors(bookmark() and not bookmark(%s))",
  1986                      mark, mark, mark)
  1986                      mark, mark, mark)
       
  1987 
       
  1988 def computechangesetfilesadded(ctx):
       
  1989     """return the list of files added in a changeset
       
  1990     """
       
  1991     added = []
       
  1992     for f in ctx.files():
       
  1993         if not any(f in p for p in ctx.parents()):
       
  1994             added.append(f)
       
  1995     return added