[fossil-users] forum-v2 can't compile

2018-08-04 Thread Dingyuan Wang
Hi, I want to try out the forum-v2 branch, but it doesn't compile: cc -I. -I./src -Ibld -Wall -DFOSSIL_ENABLE_JSON -DFOSSIL_ENABLE_LEGACY_MV_RM=1 -DFOSSIL_ENABLE_TH1_DOCS -DFOSSIL_ENABLE_TH1_HOOKS -DFOSSIL_DYNAMIC_BUILD=1 -DFOSSIL_HAVE_FUSEFS -g -O2 -DHAVE_AUTOCONFIG_H -D_HAVE_SQLITE_CONFIG_H -

[fossil-users] Segfault on json test

2018-07-05 Thread Dingyuan Wang
Hi, The following test: tclsh test/tester.tcl fossil json fails with: [...] /home/gumble/dev/fossil/fossil json --json-input anon-1 ERROR: child killed: segmentation violation JSON ERROR: unexpected token ":" at position 1; expecting VALUE test json-login-a-env-validJSON FAILED! test test-fra

Re: [fossil-users] email testing - no subscriber table?

2018-06-25 Thread Dingyuan Wang
Yes. 2018-06-26 02:28, Richard Hipp: > On 6/24/18, Dingyuan Wang wrote: >> >> I just got 50 exactly same "[fossil-src] activity alert" emails >> describing 5 check-ins in three minutes. What's happening to the server? >> > > Did t

Re: [fossil-users] email testing - no subscriber table?

2018-06-24 Thread Dingyuan Wang
Hello, I previously set to receive these before unsubscribing: [x] Announcements [x] Check-ins [ ] Ticket changes [x] Wiki [x] Daily digest only I just got 50 exactly same "[fossil-src] activity alert" emails describing 5 check-ins in three minutes. What's happening to the server? Besides the m

Re: [fossil-users] How to rename a directory

2018-05-06 Thread Dingyuan Wang
ndoMsg}" + [normalize_result] eq "DELETE subdirD/f10\nDELETE subdirD/f11\nREVERT subdirC/f10\nREVERT subdirC/f11${undoMsg}" } test mv-file-new-directory-13 {[file size subdirC/f10] == 3} test mv-file-new-directory-14 {[read_file subdirC/f10] eq "f10"} test mv-file-ne

[fossil-users] How to rename a directory

2018-05-05 Thread Dingyuan Wang
Hi, The fossil mv command seems can't rename a directory. eg. `fossil mv --hard test test1` then `fossil status` will give `RENAMEDtest1`. Suppose that there is a file `a/test`. `fossil mv --hard a b` then `fossil status` will give `MISSINGa/test`. `fossil commit` will abort due to missin

[fossil-users] import multiple branch names from git

2018-04-18 Thread Dingyuan Wang
Hi, When exporting git repos with multiple branches pointing to one commit, fossil only tag one of the branches, because fossil doesn't recognize "reset" commands. For example, this fast-export: commit refs/heads/bugfix mark :83209 author Someone 1523846129 + committer Someone 1523938423 +

[fossil-users] patch: support using author in git fast-export

2018-01-17 Thread Dingyuan Wang
Hi, The git fast-import format can specify different 'author' and 'committer', while fossil only uses one. This patch adds the import option --use-author to set 'author' as the checkin user, instead of 'committer'. This avoid problems when 'committer' is not meaningful, eg. 'GitHub '. When --use-a

[fossil-users] patch: fossil import sha3 marks support

2018-01-15 Thread Dingyuan Wang
Hi, The patch fixes the problem that fossil doesn't recognize sha3 marks file. eg. first do $ mkdir .marks $ git fast-export --all --export-marks=.marks/git | fossil import --export-marks .marks/fossil --git repo.fossil then $ git fast-export --all --import-marks=.marks/git --export-marks=.mar

[fossil-users] 413 Request Entity Too Large

2018-01-11 Thread Dingyuan Wang
Hi, When I committed a large blob, I can't sync with my server, which uses nginx for reverse proxy. "server says: 413 Request Entity Too Large" I've set the max-upload to 1000 but it doesn't help. ___ fossil-users mailing list fossil-users@lists.fossil-

[fossil-users] How to find deleted files in web interface

2018-01-06 Thread Dingyuan Wang
Hi, In the command line, fossil timeline -p somefile can show the commit when the file is deleted, while web interface /finfo?name=somefile can't. It also don't show merges. What's the web interface equivalence of `timeline` for a file, or how can I find when the file is deleted?

[fossil-users] Unmatched parenthesis in the new file history

2017-12-14 Thread Dingyuan Wang
Hi, The recent CSS update looks good. There is a bug in "File History" view. eg. The commit metadata says: file: [92589049] check-in: [e59a7fd3] user: drh, branch: trunk, size: 28652) This appears in each

Re: [fossil-users] Initial empty checkin?

2017-08-17 Thread Dingyuan Wang
Fossil import now has a bug that it makes a repo with SHA3 hashes, but can't do incremental updates because of the SHA3 hashes. My workaround is to first `fossil new --sha1` and then import. The initial empty checkin is annoying for importing. 2017-08-17 18:32, Stephan Beal: > Fwiw: My recollectio

[fossil-users] Bug: can't import to SHA3 repos

2017-06-28 Thread Dingyuan Wang
Dear all, In the latest version, Fossil uses a SHA3 hash by default. When I'm trying to sync from Git to Fossil, it refuses because of the SHA3 in the marks file. First: $ git fast-export --all --import-marks=../somerepo.git-marks --export-marks=../somerepo.git-marks | fossil import --import-mar