Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgIterateDirection.java @ 522:2103388d4010 v1.1m2
Expose option to report changesets in reversed order
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 26 Dec 2012 18:14:53 +0100 |
parents | |
children | 57b2c9eb3c69 |
comparison
equal
deleted
inserted
replaced
521:59e555c85da0 | 522:2103388d4010 |
---|---|
1 /* | |
2 * Copyright (c) 2012 TMate Software Ltd | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; version 2 of the License. | |
7 * | |
8 * This program is distributed in the hope that it will be useful, | |
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 * GNU General Public License for more details. | |
12 * | |
13 * For information on how to redistribute this software under | |
14 * the terms of a license other than GNU General Public License | |
15 * contact TMate Software at support@hg4j.com | |
16 */ | |
17 package org.tmatesoft.hg.core; | |
18 | |
19 | |
20 /** | |
21 * Change order changesets are reported to handler | |
22 * | |
23 * @author Artem Tikhomirov | |
24 * @author TMate Software Ltd. | |
25 */ | |
26 public enum HgIterateDirection { | |
27 /** | |
28 * Natural order, earlier revisions come first | |
29 */ | |
30 OldToNew, | |
31 | |
32 /** | |
33 * Reversed order, newer revisions come first, much like command-line client does | |
34 */ | |
35 NewToOld | |
36 } |