equal
deleted
inserted
replaced
914 p, f = i, f * 2 |
914 p, f = i, f * 2 |
915 |
915 |
916 for f in fetch: |
916 for f in fetch: |
917 if f in m: |
917 if f in m: |
918 raise RepoError("already have changeset " + short(f[:4])) |
918 raise RepoError("already have changeset " + short(f[:4])) |
|
919 |
|
920 if fetch == [nullid]: |
|
921 raise RepoError("unrelated repository") |
919 |
922 |
920 self.ui.note("adding new changesets starting at " + |
923 self.ui.note("adding new changesets starting at " + |
921 " ".join([short(f) for f in fetch]) + "\n") |
924 " ".join([short(f) for f in fetch]) + "\n") |
922 |
925 |
923 self.ui.debug("%d total queries\n" % reqcnt) |
926 self.ui.debug("%d total queries\n" % reqcnt) |