Show More
@@ -698,7 +698,7 b' def deltagroup(repo, store, nodes, ischa' | |||||
698 | total=len(nodes)) |
|
698 | total=len(nodes)) | |
699 |
|
699 | |||
700 | configtarget = repo.ui.config('devel', 'bundle.delta') |
|
700 | configtarget = repo.ui.config('devel', 'bundle.delta') | |
701 | if configtarget not in ('', 'p1'): |
|
701 | if configtarget not in ('', 'p1', 'full'): | |
702 | msg = _("""config "devel.bundle.delta" as unknown value: %s""") |
|
702 | msg = _("""config "devel.bundle.delta" as unknown value: %s""") | |
703 | repo.ui.warn(msg % configtarget) |
|
703 | repo.ui.warn(msg % configtarget) | |
704 |
|
704 | |||
@@ -707,6 +707,8 b' def deltagroup(repo, store, nodes, ischa' | |||||
707 | deltamode = repository.CG_DELTAMODE_PREV |
|
707 | deltamode = repository.CG_DELTAMODE_PREV | |
708 | elif configtarget == 'p1': |
|
708 | elif configtarget == 'p1': | |
709 | deltamode = repository.CG_DELTAMODE_P1 |
|
709 | deltamode = repository.CG_DELTAMODE_P1 | |
|
710 | elif configtarget == 'full': | |||
|
711 | deltamode = repository.CG_DELTAMODE_FULL | |||
710 |
|
712 | |||
711 | revisions = store.emitrevisions( |
|
713 | revisions = store.emitrevisions( | |
712 | nodes, |
|
714 | nodes, |
@@ -905,3 +905,7 b' Test the option that create slim bundle' | |||||
905 |
|
905 | |||
906 | $ hg bundle -a --config devel.bundle.delta=p1 ./slim.hg |
|
906 | $ hg bundle -a --config devel.bundle.delta=p1 ./slim.hg | |
907 | 3 changesets found |
|
907 | 3 changesets found | |
|
908 | ||||
|
909 | Test the option that create and no-delta's bundle | |||
|
910 | $ hg bundle -a --config devel.bundle.delta=full ./full.hg | |||
|
911 | 3 changesets found |
General Comments 0
You need to be logged in to leave comments.
Login now