hgext/mq.py
changeset 10763 68a7b9ed3c71
parent 10731 71cf11f03b3d
parent 10755 32023a0a389b
child 10773 bd36e5c0ccb1
equal deleted inserted replaced
10758:2ed667a9dfcb 10763:68a7b9ed3c71
  1903             hg.update(dr, dr.changelog.tip())
  1903             hg.update(dr, dr.changelog.tip())
  1904 
  1904 
  1905 def commit(ui, repo, *pats, **opts):
  1905 def commit(ui, repo, *pats, **opts):
  1906     """commit changes in the queue repository (DEPRECATED)
  1906     """commit changes in the queue repository (DEPRECATED)
  1907 
  1907 
  1908     This command is deprecated; use hg --mq commit instead."""
  1908     This command is deprecated; use hg commit --mq instead."""
  1909     q = repo.mq
  1909     q = repo.mq
  1910     r = q.qrepo()
  1910     r = q.qrepo()
  1911     if not r:
  1911     if not r:
  1912         raise util.Abort('no queue repository')
  1912         raise util.Abort('no queue repository')
  1913     commands.commit(r.ui, r, *pats, **opts)
  1913     commands.commit(r.ui, r, *pats, **opts)