Skip to content

Commit 752d193

Browse files
committed
Update migrate.py
Order of the tickets in the Gitlab import is now the same as in Trac, tickets have the same ID.
1 parent 87089a9 commit 752d193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: migrate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def get_dest_milestone_id(dest_project_id,milestone_name):
123123

124124
get_all_tickets = xmlrpclib.MultiCall(source)
125125

126-
for ticket in source.ticket.query("max=0"):
126+
for ticket in source.ticket.query("max=0&order=id&asc=1"):
127127
get_all_tickets.ticket.get(ticket)
128128

129129

0 commit comments

Comments
 (0)