Edgewall Software

Changes between Version 41 and Version 42 of TracRepositoryAdmin


Ignore:
Timestamp:
Jun 29, 2015, 8:23:02 PM (5 years ago)
Author:
Ryan J Ollos
Comment:

Modified per comment:6:ticket:12093.

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v41 v42  
    149149{{{#!sh
    150150#!/bin/sh
     151tracenv=/path/to/env     # change with your Trac environment's path
     152repos=                   # change with your repository's name
    151153while read oldrev newrev refname; do
    152154    if [ "$oldrev" = 0000000000000000000000000000000000000000 ]; then
     
    154156    else
    155157        git rev-list --reverse "$newrev" "^$oldrev" --
    156     fi | xargs trac-admin /path/to/env changeset added <repos>
     158    fi | xargs trac-admin "$tracenv" changeset added "$repos"
    157159done
    158160}}}