Fossil SCM

Use-case demonstrating previous change. It restores the behavior of "fossil clean" and the "ignore-glob" documentation to what it was in 1.25 and before: clean everything unknown to fossil except the build artifacts (specified by "ignore-glob" or --ignore). Now the build artifacts can be removed by "fossil clean -X", while "fossil clean -x" cleans everything possible for a clean build. This renders --clean and "ignore-clean" unnecessary, it can be removed now.

jan.nijtmans 2013-05-22 07:11 cleanX
Commit 003062b7d8a1c40282dd21d667aaf3a13f9e72e4
D .fossil-settings/clean-glob
-14
--- a/.fossil-settings/clean-glob
+++ b/.fossil-settings/clean-glob
@@ -1,14 +0,0 @@
1
-*.a
2
-*.lib
3
-*.manifest
4
-*.o
5
-bld/*
6
-w.a
7
-*.lib
8
-*.manifest
9
-*.o
10
-*.obj
11
-*.pdb
12
-*.res
13
-Makefile
14
-aut
--- a/.fossil-settings/clean-glob
+++ b/.fossil-settings/clean-glob
@@ -1,14 +0,0 @@
1 *.a
2 *.lib
3 *.manifest
4 *.o
5 bld/*
6 w.a
7 *.lib
8 *.manifest
9 *.o
10 *.obj
11 *.pdb
12 *.res
13 Makefile
14 aut
--- a/.fossil-settings/clean-glob
+++ b/.fossil-settings/clean-glob
@@ -1,14 +0,0 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,2 +1,19 @@
1
+*.a
2
+*.lib
3
+*.manifest
4
+*.o
5
+*.obj
6
+*.pdb
7
+*.res
8
+Makefile
9
+bld/*
10
+wbld/*
11
+win/*.c
12
+win/*.h
13
+win/*.exe
14
+win/headers
15
+win/linkopts
16
+autoconfig.h
17
+config.log
118
fossil
219
fossil.exe
320
421
ADDED .fossil-settings/keep-glob
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,2 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1 fossil
2 fossil.exe
3
4 DDED .fossil-settings/keep-glob
--- .fossil-settings/ignore-glob
+++ .fossil-settings/ignore-glob
@@ -1,2 +1,19 @@
1 *.a
2 *.lib
3 *.manifest
4 *.o
5 *.obj
6 *.pdb
7 *.res
8 Makefile
9 bld/*
10 wbld/*
11 win/*.c
12 win/*.h
13 win/*.exe
14 win/headers
15 win/linkopts
16 autoconfig.h
17 config.log
18 fossil
19 fossil.exe
20
21 DDED .fossil-settings/keep-glob
--- a/.fossil-settings/keep-glob
+++ b/.fossil-settings/keep-glob
@@ -0,0 +1,2 @@
1
+fossil
2
+fossil.exe
--- a/.fossil-settings/keep-glob
+++ b/.fossil-settings/keep-glob
@@ -0,0 +1,2 @@
 
 
--- a/.fossil-settings/keep-glob
+++ b/.fossil-settings/keep-glob
@@ -0,0 +1,2 @@
1 fossil
2 fossil.exe
+3 -3
--- src/db.c
+++ src/db.c
@@ -2192,11 +2192,11 @@
21922192
** TRUE for unix and FALSE for Cygwin, Mac and Windows.
21932193
**
21942194
** clean-glob The VALUE is a comma or newline-separated list of GLOB
21952195
** (versionable) patterns specifying files that the "clean" command will
21962196
** delete without prompting even when the -force flag has
2197
-** not been used. Example: *.a *.lib *.o
2197
+** not been used.
21982198
**
21992199
** clearsign When enabled, fossil will attempt to sign all commits
22002200
** with gpg. When disabled (the default), commits will
22012201
** be unsigned. Default: off
22022202
**
@@ -2247,15 +2247,15 @@
22472247
** even if the login page request came via HTTP.
22482248
**
22492249
** ignore-glob The VALUE is a comma or newline-separated list of GLOB
22502250
** (versionable) patterns specifying files that the "add", "addremove",
22512251
** "clean", and "extra" commands will ignore.
2252
-** Example: *.log customCode.c notes.txt
2252
+** Example: *.a *.lib *.o *.log
22532253
**
22542254
** keep-glob The VALUE is a comma or newline-separated list of GLOB
22552255
** (versionable) patterns specifying files that the "clean" command will
2256
-** keep.
2256
+** keep. Example: *.log customCode.c notes.txt
22572257
**
22582258
** localauth If enabled, require that HTTP connections from
22592259
** 127.0.0.1 be authenticated by password. If
22602260
** false, all HTTP requests from localhost have
22612261
** unrestricted access to the repository.
22622262
--- src/db.c
+++ src/db.c
@@ -2192,11 +2192,11 @@
2192 ** TRUE for unix and FALSE for Cygwin, Mac and Windows.
2193 **
2194 ** clean-glob The VALUE is a comma or newline-separated list of GLOB
2195 ** (versionable) patterns specifying files that the "clean" command will
2196 ** delete without prompting even when the -force flag has
2197 ** not been used. Example: *.a *.lib *.o
2198 **
2199 ** clearsign When enabled, fossil will attempt to sign all commits
2200 ** with gpg. When disabled (the default), commits will
2201 ** be unsigned. Default: off
2202 **
@@ -2247,15 +2247,15 @@
2247 ** even if the login page request came via HTTP.
2248 **
2249 ** ignore-glob The VALUE is a comma or newline-separated list of GLOB
2250 ** (versionable) patterns specifying files that the "add", "addremove",
2251 ** "clean", and "extra" commands will ignore.
2252 ** Example: *.log customCode.c notes.txt
2253 **
2254 ** keep-glob The VALUE is a comma or newline-separated list of GLOB
2255 ** (versionable) patterns specifying files that the "clean" command will
2256 ** keep.
2257 **
2258 ** localauth If enabled, require that HTTP connections from
2259 ** 127.0.0.1 be authenticated by password. If
2260 ** false, all HTTP requests from localhost have
2261 ** unrestricted access to the repository.
2262
--- src/db.c
+++ src/db.c
@@ -2192,11 +2192,11 @@
2192 ** TRUE for unix and FALSE for Cygwin, Mac and Windows.
2193 **
2194 ** clean-glob The VALUE is a comma or newline-separated list of GLOB
2195 ** (versionable) patterns specifying files that the "clean" command will
2196 ** delete without prompting even when the -force flag has
2197 ** not been used.
2198 **
2199 ** clearsign When enabled, fossil will attempt to sign all commits
2200 ** with gpg. When disabled (the default), commits will
2201 ** be unsigned. Default: off
2202 **
@@ -2247,15 +2247,15 @@
2247 ** even if the login page request came via HTTP.
2248 **
2249 ** ignore-glob The VALUE is a comma or newline-separated list of GLOB
2250 ** (versionable) patterns specifying files that the "add", "addremove",
2251 ** "clean", and "extra" commands will ignore.
2252 ** Example: *.a *.lib *.o *.log
2253 **
2254 ** keep-glob The VALUE is a comma or newline-separated list of GLOB
2255 ** (versionable) patterns specifying files that the "clean" command will
2256 ** keep. Example: *.log customCode.c notes.txt
2257 **
2258 ** localauth If enabled, require that HTTP connections from
2259 ** 127.0.0.1 be authenticated by password. If
2260 ** false, all HTTP requests from localhost have
2261 ** unrestricted access to the repository.
2262

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button