-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch CVS slightly, so it also supports 1.11.1p1 'tag' config
XXX we used this as Id first (like obsd), then CVSHeader (but XXX only in 2004, which was ocvs’ last year anyway), so this XXX is still partly off
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff -u cvs-1.12.13+real/debian/changelog cvs-1.12.13+real/debian/changelog | ||
--- cvs-1.12.13+real/debian/changelog | ||
+++ cvs-1.12.13+real/debian/changelog | ||
@@ -1,3 +1,9 @@ | ||
+cvs (2:1.12.13+real-12.0.1) tarent; urgency=medium | ||
+ | ||
+ * Support tag= in config for compat | ||
+ | ||
+ -- Thorsten Glaser <[email protected]> Wed, 25 Jun 2014 12:50:32 +0200 | ||
+ | ||
cvs (2:1.12.13+real-12) unstable; urgency=medium | ||
|
||
* Add texlive-fonts-recommended B-D (thanks Norbert Preining) | ||
diff -u cvs-1.12.13+real/src/parseinfo.c cvs-1.12.13+real/src/parseinfo.c | ||
--- cvs-1.12.13+real/src/parseinfo.c | ||
+++ cvs-1.12.13+real/src/parseinfo.c | ||
@@ -701,6 +701,21 @@ | ||
retval->MaxCompressionLevel = dummy_sizet; | ||
} | ||
#endif /* SERVER_SUPPORT */ | ||
+ else if (!strcmp (line, "tag")) { | ||
+ char *pp; | ||
+ | ||
+ pp = Xasprintf("%s=Id", p); | ||
+ RCS_setlocalid (infopath, ln, &retval->keywords, pp); | ||
+ free(pp); | ||
+ | ||
+#if !defined(LOCK_COMPATIBILITY) || !defined(SUPPORT_OLD_INFO_FMT_STRINGS) | ||
+ error (0, 0, "%s: found keyword '%s' in repository", | ||
+ infopath, line); | ||
+ error (readonlyfs ? 0 : 1, 0, readonlyfs | ||
+ ? "Danger: Granting read access to incompatible repository!" | ||
+ : "Do not try to access a cvs 1.11 repository!"); | ||
+#endif | ||
+ } | ||
#if !defined(LOCK_COMPATIBILITY) || !defined(SUPPORT_OLD_INFO_FMT_STRINGS) | ||
else if ((!strcmp (line, "tag")) || (!strcmp (line, "umask")) | ||
|| (!strcmp (line, "DisableXProg")) || (!strcmp (line, "dlimit")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters