Hi,

I've been working with SQLite code privately with Git, using "fossil
export" functionality on Debian (sid).

Today I found that

  $ git init
  $ mkdir -p .git/fossil
  $ mkdir -p .git/fossil/imported
  $ git --git-dir .git/fossil/imported init --bare
  $ ./fossil clone http://www.sqlite.org/cgi/src .git/fossil/repository.fossil
  $ ./fossil export --git .git/fossil/repository.fossil | git
--git-dir .git/fossil/imported fast-import

has been crashing with the message:

  fatal: mark :60527 not declared

So, I've checked with fossil packaged for Debian (sid) (1:1.21-1),
and v1.18, v1.19, v.1.20, v1.21 from <http://fossil-scm.org/download.html>.

The output of fossil v1.18 does NOT have this kind of problem.
The output of other build does have the same kind of problem
(and exactly complain about the mark 60527.)

Interstingly,

  # clone with v1.18 and v1.19 respectively
  $ ./fossil-v1.18 clone http://www.sqlite.org/cgi/src repository.fossil.v1.18
  $ ./fossil-v1.19 clone http://www.sqlite.org/cgi/src repository.fossil.v1.19

  # clone and export with v1.18 -> no match with 60527
  $ ./fossil-v1.18 export --git repository.fossil.v1.18 | grep -C 5 60527

  # clone and export with v1.19 -> one reference to mark 60527
  $ ./fossil-v1.19 export --git repository.fossil.v1.19 | grep -C 5 60527
  commit refs/heads/shunning_error
  mark :60535
  committer drh <drh> 1257360677 +0000
  data 24
  Fix documentation typos.
  from :60527
  M 100644 :39490 Makefile.arm-wince-mingw32ce-gcc
  M 100644 :59022 Makefile.in
  M 100644 :35756 Makefile.linux-gcc
  M 100644 :55270 Makefile.vxworks
  M 100644 :42236 README

  # clone with v1.18 and export with v1.19 -> one reference to mark 60527
  $ ./fossil-v1.19 export --git repository.fossil.v1.18 | grep -C 5 60527
  commit refs/heads/shunning_error
  mark :60535
  committer drh <drh> 1257360677 +0000
  data 24
  Fix documentation typos.
  from :60527
  M 100644 :39490 Makefile.arm-wince-mingw32ce-gcc
  M 100644 :59022 Makefile.in
  M 100644 :35756 Makefile.linux-gcc
  M 100644 :55270 Makefile.vxworks
  M 100644 :42236 README


I'm not familiar with the source codes of fossil,
but some regressioins between v1.18 and v1.19?

Any comments to break down this problem are welcome.


Regards,

-- 
SASAKI Suguru <佐々木 優>
  mailto:sss.so...@gmail.com
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to