Show More
@@ -3639,11 +3639,11 b' def createrepository(ui, path, createopt' | |||||
3639 | # effectively locks out old clients and prevents them from |
|
3639 | # effectively locks out old clients and prevents them from | |
3640 | # mucking with a repo in an unknown format. |
|
3640 | # mucking with a repo in an unknown format. | |
3641 | # |
|
3641 | # | |
3642 |
# The revlog header has version |
|
3642 | # The revlog header has version 65535, which won't be recognized by | |
3643 | # such old clients. |
|
3643 | # such old clients. | |
3644 | hgvfs.append( |
|
3644 | hgvfs.append( | |
3645 | b'00changelog.i', |
|
3645 | b'00changelog.i', | |
3646 |
b'\0\0\ |
|
3646 | b'\0\0\xFF\xFF dummy changelog to prevent using the old repo ' | |
3647 | b'layout', |
|
3647 | b'layout', | |
3648 | ) |
|
3648 | ) | |
3649 |
|
3649 |
@@ -5,7 +5,7 b'' | |||||
5 | $ hg commit -m test |
|
5 | $ hg commit -m test | |
6 | $ rm .hg/requires |
|
6 | $ rm .hg/requires | |
7 | $ hg tip |
|
7 | $ hg tip | |
8 |
abort: unknown version ( |
|
8 | abort: unknown version (65535) in revlog 00changelog.i | |
9 | [50] |
|
9 | [50] | |
10 | $ echo indoor-pool > .hg/requires |
|
10 | $ echo indoor-pool > .hg/requires | |
11 | $ hg tip |
|
11 | $ hg tip |
General Comments 0
You need to be logged in to leave comments.
Login now