Mercurial > hg
comparison mercurial/commands.py @ 931:32e8f64b25b0
Fix incoming for empty set
author | mpm@selenic.com |
---|---|
date | Tue, 16 Aug 2005 22:47:49 -0800 |
parents | 6f2c3bcbfaaf |
children | 54b2a42e501e f15901d053e1 |
comparison
equal
deleted
inserted
replaced
930:0c4a6ad6efc1 | 931:32e8f64b25b0 |
---|---|
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") |
792 return 1 | 792 return 1 |
793 o = repo.findincoming(other) | 793 o = repo.findincoming(other) |
794 if not o: | |
795 return | |
794 o = other.newer(o) | 796 o = other.newer(o) |
795 o.reverse() | 797 o.reverse() |
796 for n in o: | 798 for n in o: |
797 show_changeset(ui, other, changenode=n) | 799 show_changeset(ui, other, changenode=n) |
798 | 800 |