01: /**
02: * @copyright
03: * ====================================================================
04: * Copyright (c) 2003-2004 CollabNet. All rights reserved.
05: *
06: * This software is licensed as described in the file COPYING, which
07: * you should have received as part of this distribution. The terms
08: * are also available at http://subversion.tigris.org/license-1.html.
09: * If newer versions of this license are posted there, you may use a
10: * newer version instead, at your option.
11: *
12: * This software consists of voluntary contributions made by many
13: * individuals. For exact contribution history, see the revision
14: * history and logs, available at http://subversion.tigris.org/.
15: * ====================================================================
16: * @endcopyright
17: */package org.tigris.subversion.javahl;
18:
19: /**
20: * Various ways of specifying revisions.
21: *
22: * Note:
23: * In contexts where local mods are relevant, the `working' kind
24: * refers to the uncommitted "working" revision, which may be modified
25: * with respect to its base revision. In other contexts, `working'
26: * should behave the same as `committed' or `current'.
27: *
28: */
29: public interface RevisionKind {
30: /** No revision information given. */
31: public static final int unspecified = 0;
32:
33: /** revision given as number */
34: public static final int number = 1;
35:
36: /** revision given as date */
37: public static final int date = 2;
38:
39: /** rev of most recent change */
40: public static final int committed = 3;
41:
42: /** (rev of most recent change) - 1 */
43: public static final int previous = 4;
44:
45: /** .svn/entries current revision */
46: public static final int base = 5;
47:
48: /** current, plus local mods */
49: public static final int working = 6;
50:
51: /** repository youngest */
52: public static final int head = 7;
53:
54: }
|