mercurial/commands.py
changeset 928 6f2c3bcbfaaf
parent 927 5a830d7bea52
child 931 32e8f64b25b0
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")