Show More
@@ -917,6 +917,9 b' class localrepository:' | |||||
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 |
|
919 | |||
|
920 | if fetch == [nullid]: | |||
|
921 | raise RepoError("unrelated repository") | |||
|
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 |
General Comments 0
You need to be logged in to leave comments.
Login now