Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 928:6f2c3bcbfaaf
hg incoming/outgoing: fix tests and update man page
author | mpm@selenic.com |
---|---|
date | Tue, 16 Aug 2005 19:27:46 -0800 |
parents | 5a830d7bea52 |
children | 32e8f64b25b0 |
comparison
equal
deleted
inserted
replaced
927:5a830d7bea52 | 928:6f2c3bcbfaaf |
---|---|
781 if len(files) > 0: | 781 if len(files) > 0: |
782 addremove(ui, repo, *files) | 782 addremove(ui, repo, *files) |
783 repo.commit(files, message, user) | 783 repo.commit(files, message, user) |
784 | 784 |
785 def incoming(ui, repo, source="default"): | 785 def incoming(ui, repo, source="default"): |
786 """show changesets not found in source""" | 786 """show new changesets found in source""" |
787 source = ui.expandpath(source) | 787 source = ui.expandpath(source) |
788 other = hg.repository(ui, source) | 788 other = hg.repository(ui, source) |
789 if not other.local(): | 789 if not other.local(): |
790 ui.warn("abort: incoming doesn't work for remote" | 790 ui.warn("abort: incoming doesn't work for remote" |
791 + " repositories yet, sorry!\n") | 791 + " repositories yet, sorry!\n") |