core-jgi/migration/reduce_repository
hieplq 972dd355db IDEMPIERE-2940:reduce size of repository 2015-11-14 17:17:25 +07:00
..
exclude_file_map.txt IDEMPIERE-2940:reduce size of repository 2015-11-14 17:17:25 +07:00
readme IDEMPIERE-2940:reduce size of repository 2015-11-14 17:17:25 +07:00

readme

reference: https://idempiere.atlassian.net/browse/IDEMPIERE-2940

1. asume folder contain your idempiere repository is /mnt/data/dev/bitbucket/main-sync/idempiere-experimental

2. asume folder contain new repository is /mnt/data/dev/bitbucket/main-sync/idempiere-reduce

3. active convert extension in your mercurial
https://www.mercurial-scm.org/wiki/ConvertExtension#Configuration

Add the following lines to your .hgrc or to enable the extension :
[extensions]
hgext.convert=

4. run shell command:
IDEMPIERE_ROOT=/mnt/data/dev/bitbucket/main-sync/idempiere-experimental
IDEMPIERE_REDUCE=/mnt/data/dev/bitbucket/main-sync/idempiere-reduce

hg convert --filemap $IDEMPIERE_ROOT/migration/reduce_repository/exclude_file_map.txt $IDEMPIERE_ROOT $IDEMPIERE_REDUCE

5. wait (about 30 miutes), and upload your new repository to your server