diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-03 15:02:56 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-03 15:02:56 +0000 |
commit | 3d78890027fb19ead4c3ba84f930b0a1bd219f96 (patch) | |
tree | b32dfb0d17c783898842bb592c8206c311adf439 /usr.bin/cvs/cvs.h | |
parent | adafd44db90a04c4df796b4e345001a39a835287 (diff) |
- teach opencvs about Entries.Log and what to do with it
it it exists in the CVS admin dir.
- when writing the Entries file write it to Entries.Backup first and
then rename it to Entries when the writing was successfull.
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index 9e47b394016..5860bb596fe 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.88 2005/12/03 01:02:08 joris Exp $ */ +/* $OpenBSD: cvs.h,v 1.89 2005/12/03 15:02:54 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -137,6 +137,7 @@ #define CVS_PATH_ENTRIES CVS_PATH_CVSDIR "/Entries" #define CVS_PATH_STATICENTRIES CVS_PATH_CVSDIR "/Entries.Static" #define CVS_PATH_LOGENTRIES CVS_PATH_CVSDIR "/Entries.Log" +#define CVS_PATH_BACKUPENTRIES CVS_PATH_CVSDIR "/Entries.Backup" #define CVS_PATH_ROOTSPEC CVS_PATH_CVSDIR "/Root" #define CVS_PATH_REPOSITORY CVS_PATH_CVSDIR "/Repository" #define CVS_PATH_TAG CVS_PATH_CVSDIR "/Tag" @@ -278,6 +279,7 @@ struct cvs_ent { typedef struct cvs_entries { char *cef_path; + char *cef_bpath; u_int cef_flags; TAILQ_HEAD(cvsentrieshead, cvs_ent) cef_ent; |