Show More
@@ -396,6 +396,11 b' class revlog(object):' | |||
|
396 | 396 | newversionflags = REVLOGV1 | FLAG_INLINE_DATA |
|
397 | 397 | if 'generaldelta' in opts: |
|
398 | 398 | newversionflags |= FLAG_GENERALDELTA |
|
399 | elif getattr(self.opener, 'options', None) is not None: | |
|
400 | # If options provided but no 'revlog*' found, the repository | |
|
401 | # would have no 'requires' file in it, which means we have to | |
|
402 | # stick to the old format. | |
|
403 | newversionflags = REVLOGV0 | |
|
399 | 404 | else: |
|
400 | 405 | newversionflags = REVLOG_DEFAULT_VERSION |
|
401 | 406 |
@@ -717,6 +717,9 b' Test clone from the repository in (emula' | |||
|
717 | 717 | $ hg -R src commit -m '#0' |
|
718 | 718 | $ hg -R src log -q |
|
719 | 719 | 0:e1bab28bca43 |
|
720 | $ hg -R src debugrevlog -c | egrep 'format|flags' | |
|
721 | format : 0 | |
|
722 | flags : (none) | |
|
720 | 723 | $ hg clone -U -q src dst |
|
721 | 724 | $ hg -R dst log -q |
|
722 | 725 | 0:e1bab28bca43 |
General Comments 0
You need to be logged in to leave comments.
Login now