~svn/ubuntu/raring/subversion/ppa

« back to all changes in this revision

Viewing changes to subversion/bindings/java/javahl/src/org/tigris/subversion/javahl/RevisionKind.java

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:26:14 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205012614-qom4xfypgtsqc2xq
Tags: 1.2.3dfsg1-3ubuntu1
Merge with the final Debian release of 1.2.3dfsg1-3, bringing in
fixes to the clean target, better documentation of the libdb4.3
upgrade and build fixes to work with swig1.3_1.3.27.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * @copyright
 
3
 * ====================================================================
 
4
 * Copyright (c) 2003-2004 CollabNet.  All rights reserved.
 
5
 *
 
6
 * This software is licensed as described in the file COPYING, which
 
7
 * you should have received as part of this distribution.  The terms
 
8
 * are also available at http://subversion.tigris.org/license-1.html.
 
9
 * 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
 */
 
18
package org.tigris.subversion.javahl;
 
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
{
 
31
    /** No revision information given. */
 
32
    public static final int unspecified = 0;
 
33
 
 
34
    /** revision given as number */
 
35
    public static final int number = 1;
 
36
 
 
37
    /** revision given as date */
 
38
    public static final int date = 2;
 
39
 
 
40
    /** rev of most recent change */
 
41
    public static final int committed = 3;
 
42
 
 
43
    /** (rev of most recent change) - 1 */
 
44
    public static final int previous = 4;
 
45
 
 
46
    /** .svn/entries current revision */
 
47
    public static final int base = 5;
 
48
 
 
49
    /** current, plus local mods */
 
50
    public static final int working = 6;
 
51
 
 
52
    /** repository youngest */
 
53
    public static final int head = 7;
 
54
 
 
55
}