Changes between Version 3 and Version 4 of Ticket #16944


Ignore:
Timestamp:
2018-11-04T22:38:14+01:00 (7 years ago)
Author:
wiktorn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16944 – Description

    v3 v4  
    149149###
    150150
    151 REBASE_CONF=$(mktemp)
    152151(
    153152  git log --pretty="format:%at %H %s" remotes/svn_josmtrunk
    154153  git log --pretty="format:%at %H %s" svn_jmapviewer_rewrite
    155 ) | sort -n > "${REBASE_CONF}"
    156 
    157 JOSM_EPOCH=$(head -n 1 ${REBASE_CONF} | cut -d ' ' -f1 )
    158 (
    159   #git log --ancestry-path  --pretty="format:%ct %H %s" \
    160   #   $(git log --reverse --oneline --no-abbrev-commit svn_commons_compress_rewrite |
    161   #   head -n 1 | cut -d ' ' -f 1)..svn_commons_compress_rewrite # we are not rebasing this, to preserve commit timestamps which we use here
    162154  git log --first-parent --pretty="format:%at %H %s" svn_commons_compress_clean
    163155  git log --pretty="format:%at %H %s" svn_commons_jcstrunk_clean
    164156  git log --pretty="format:%at %H %s" svn_commons_loggingtrunk_clean
    165   # could use it:
    166   # | awk -F ' ' "\$1 > ${JOSM_EPOCH} {print \$1 \" \" \$2} {}" >> "${REBASE_CONF}"
    167   # to keep only history after fist JOSM commit, but we would need to squash all the previous history into one commit
    168 ) >> "${REBASE_CONF}"
     157) | sort -n | cut -d ' ' -f2 | sed -e 's/^/p /' > ../rebase_config
    169158
    170 sort -n ${REBASE_CONF} | cut -d ' ' -f2 | sed -e 's/^/p /' > ../rebase_config
    171 rm ${REBASE_CONF}
    172159git config merge.renamelimit 5000
    173160git checkout master
     
    185172git reflog expire --expire-unreachable=now --all
    186173git gc --prune=now
     174
    187175}}}