From 38e85ccf4fe593b4e375cbf9f5cf1c06785f5067 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 28 May 2012 05:03:13 -0400 Subject: v3: hub, manifest re-run where related multilingual documents, fix * BUG breaks mini table of contents (minitoc) manifest for multilingual files, better run without manifest minitoc, use --exc-manifest-minitoc --- data/doc/sisu/CHANGELOG_v3 | 9 ++++++++- lib/sisu/v3/hub.rb | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index 90d3fbd6..e4aaeba9 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -21,7 +21,11 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.10.orig.tar.xz sisu_3.2.10-1.dsc sisu_3.2.10-1.debian.tar.gz -* v3: hub, "requires", fix +* v3: hub + * "requires", fix + * manifest re-run where related multilingual documents, fix + BUG breaks mini table of contents (minitoc) manifest for multilingual files, + better run without manifest minitoc, use --exc-manifest-minitoc * v3: options, --init-site, --configure, fix @@ -36,6 +40,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.10.orig.tar.xz --init-site / --configure), checks whether exists if not copies (for --init-site / --configure just copies, takes as a re-copy request) +BUGS + * broken mini table of contents (minitoc) manifest for multilingual files, + better run without use --exc-manifest-minitoc %% 3.2.9.orig.tar.xz (2012-05-19:20/6) http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/sisu_3.2.9 http://git.sisudoc.org/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_3.2.9-1 diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb index ee0b492a..1e400504 100644 --- a/lib/sisu/v3/hub.rb +++ b/lib/sisu/v3/hub.rb @@ -90,7 +90,7 @@ module SiSU if number_of_files[fn].class == Array number_of_files[fn] << i else - number_of_files = { fn => [i] } + number_of_files.store(fn,[i]) end end files_translated_idx=[] -- cgit v1.2.3