Show More
@@ -997,11 +997,6 def changebranch(ui, repo, revs, label, | |||
|
997 | 997 | _(b"a branch of the same name already exists") |
|
998 | 998 | ) |
|
999 | 999 | |
|
1000 | if repo.revs(b'obsolete() and %ld', revs): | |
|
1001 | raise error.InputError( | |
|
1002 | _(b"cannot change branch of a obsolete changeset") | |
|
1003 | ) | |
|
1004 | ||
|
1005 | 1000 | # make sure only topological heads |
|
1006 | 1001 | if repo.revs(b'heads(%ld) - head()', revs): |
|
1007 | 1002 | raise error.InputError( |
General Comments 0
You need to be logged in to leave comments.
Login now