Fossil SCM
options for "commit" appear to be buggy.
15f49be6b2b1e6d…
· opened 17 years, 2 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Severe
- Resolution
- Fixed
- Subsystem
- —
- Created
- Feb. 9, 2009 1:13 a.m.
The --branch and --bgcolor options for commit don't appear to work properly, in fact leading to a useless repo (unable to checkin changes easily).
bharder added on 2009-02-09 01:16:25:
Script started on Sun Feb 8 16:51:18 2009
$ fossil new err.fsl
project-id: c7c0961460eb6c4baa95b020b5841b51d1c23b13
server-id: 108cc4b8d6649e7d775d89bc7e28664ceaabf66c
admin-user: bch (initial password is "908c61")
$ fossil open err.fsl
$ mkdir src
$ cd src
$ ed myfile
myfile: No such file or directory
a
This is a test
.
wq
15
$ fossil add myfile
ADDED src/myfile
$ fossil ls
ADDED src/myfile
$ fossil commit
ed "/home/bch/fu/ci-comment-7393D0EDC3C7.txt"
151
a
first checking of file
.
wq
174
You need a passphrase to unlock the secret key for user: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 1024-bit DSA key, ID 9C2E826F, created 2008-07-26
NeweVersion:r25d71778bac65ae94c9f0d6c9d37449689a85b9a $ fossil timeline === 2009-02-09 === 00:52:40 [25d71778ba] CURRENT first checking of file (user: bch tags: trunk) 00:51:31 [7e20615755] initial empty check-in (user: bch tags: trunk) $ ed ./myfile11DKcat ./myfile This is a test $ ed ./myfile 15 s/a t/a second t/ wq 22 $ fossil diff Index: src/myfile =================================================================== fossil diff /home/bch/fu/src/myfile --- src/myfile +++ src/myfile @@ -1,1 +1,1 @@ -This is a test +This is a second test
$ fossil commit --branch "My Branch" --bgcolor #aabbcc ed "/home/bch/fu/ci-comment-08000419FB1C.txt" 151 a commit with brancheand color . wq 180
You need a passphrase to unlock the secret key for user: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 1024-bit DSA key, ID 9C2E826F, created 2008-07-26
NeweVersion:r95ecfed9f02d69fd25496f679fbb39216fcdc775 $ fossil timeline === 2009-02-09 === 00:55:16 [95ecfed9f0] CURRENT commit with branch and color (user: bch tags: My Branch) 00:52:40 [25d71778ba] first checking of file (user: bch tags: trunk) 00:51:31 [7e20615755] initial empty check-in (user: bch tags: trunk) $ fossil server ^C $ echo "Notice color is wrong" Notice color is wrong $ ed ./myfile 22 p This is a second test s/second/third/ wq 21 $ fossil commit13DKfossil diff Index: src/myfile =================================================================== fossil diff /home/bch/fu/src/myfile --- src/myfile +++ src/myfile @@ -1,1 +1,1 @@ -This is a second test +This is a third test
$ fossil commit --branch "Other Branch" --bgcolor #aaaaaa ed "/home/bch/fu/ci-comment-380CA4C72041.txt" 151 a This is yet another branch, colored #aaaaaa . wq 195
You need a passphrase to unlock the secret key for user: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 1024-bit DSA key, ID 9C2E826F, created 2008-07-26
NeweVersion:rbb41d13d98b8cbd955fdd6c4a655f60f49170af3 fossil: manifest file (7) is malformed $ ^D Script done on Sun Feb 8 16:57:41 2009
bharder added on 2009-02-09 01:22:03:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 C This\sis\syet\sanother\sbranch,\scolored\s#aaaaaa D 2009-02-09T00:57:32 F src/myfile 39561f78495110af4a1216b4f84ae916a9daf04e P 95ecfed9f02d69fd25496f679fbb39216fcdc775 R 4cbdc6a7875e46cffe7f78ecbcb05abf T *bgcolor * Other\sBranch T *branch * Other\sBranch T *sym-Other\sBranch * T -sym-My Branch * U bch Z 4b477b3e9c3a3ba24ee84d573913a0bf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) -----END PGP SIGNATURE-----
bharder added on 2009-02-09 04:44:25:
are a few peculiarities -- some may be user error. One issue addressed is 'fossilize()'ing tagnames for the manifest. (see checkin 8be6204607)
bharder added on 2009-02-09 05:01:10:
fixed final error in manifest from tagnames w/ spaces. Closing this ticket.
-bch