summaryrefslogtreecommitdiffstats
path: root/src/main/distrib/win/migrate-tickets.cmd
blob: 5a26c8ed33549c36a24ec8f168f053b1dc77bcb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@REM --------------------------------------------------------------------------
@REM This is for migrating Tickets from one service to another.
@REM
@REM usage:
@REM     migrate-tickets <outputservice> <baseFolder>
@REM
@REM --------------------------------------------------------------------------
@if [%1]==[] goto help

@if [%2]==[] goto help

@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.MigrateTickets %1 --baseFolder %2
@goto end

:help
@echo "Please specify the output ticket service and your baseFolder!"
@echo
@echo "    migrate-tickets com.gitblit.tickets.RedisTicketService c:/gitblit-data"
@echo

:end