equal
deleted
inserted
replaced
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) |