1 | ;;; Copyright (C) 2008 Magnus Henoch |
---|
2 | ;;; |
---|
3 | ;;; This program is free software; you can redistribute it and/or |
---|
4 | ;;; modify it under the terms of the GNU General Public License as |
---|
5 | ;;; published by the Free Software Foundation; either version 2 of the |
---|
6 | ;;; License, or (at your option) any later version. |
---|
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 GNU |
---|
11 | ;;; General Public License for more details. |
---|
12 | ;;; |
---|
13 | ;;; You should have received a copy of the GNU General Public License |
---|
14 | ;;; along with this program; if not, write to the Free Software |
---|
15 | ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
---|
16 | |
---|
17 | (in-package :darcs) |
---|
18 | |
---|
19 | (define-condition repository-condition () |
---|
20 | ((repository :initarg :repository :type pathname |
---|
21 | :documentation "The absolute path of the concerned repository.")) |
---|
22 | (:documentation "Base class for conditions concerning a repository.")) |
---|
23 | |
---|
24 | (define-condition repository-file-condition (repository-condition) |
---|
25 | ((file :initarg :file :type pathname |
---|
26 | :documentation "The relative path of the concerned file or directory.")) |
---|
27 | (:documentation "Base class for conditions concerning a file in a repository.")) |
---|