Commit Graph

16 Commits

Author SHA1 Message Date
Edouard Gomez
44d6dc97e7 convert/gnuarch: keep track of original revision in extra headers
It seems to be standard to populate the .rev attribute of a commit
to keep track of original SCM revision names.

Just do it(tm).
2009-01-04 02:36:48 +01:00
Edouard Gomez
d2bfa6d72f convert/gnuarch: robustify cat-log retrieval
GNU Arch used to scale very poorly when revision number was
increasing. This was mostly caused by the huge amount of
cat-log it has to scan/read through to keep track of all
patches that were merged in a given revision.

In order to improve things, cat-log prunning was a common
admin task that would accelerate cat-log parsing at the expense
of unreachabe locally stored cat-logs.

However, these missing cat-logs are still available in the archive.
So try to get them from the archive as a fallback solution.
2009-01-04 02:36:48 +01:00
Edouard Gomez
65ccb5e0de convert/gnuarch: set prefered locale for str conversions
Seems necessary, as a test on my archives goes further with this.
2009-01-04 02:36:48 +01:00
Edouard Gomez
1e555765a3 convert/gnuarch: fix cat-log parsing
cat-log parsing was very wrong. It assumed the Summary header
was comming last, which is wrong. Plus the code was buggy because
it was concatenating all headers in the summary.

As parsing GNU Arch isn't trivial, and python email code does it
so well... just use that ;-)
2009-01-04 02:36:48 +01:00
Edouard Gomez
d5da3e53f1 convert/gnuarch: remove unused code
Debug stuff ? Wipe it.
2009-01-04 02:36:48 +01:00
Martin Geisler
8c1d48c66f move % out of translatable strings
The translators need to see the raw format string, not the result of
using the format string.
2008-08-16 14:46:56 +02:00
Matt Mackall
a65ef7bc5d util: add sort helper 2008-06-27 18:28:45 -05:00
Joel Rosdahl
4f8012378a Remove unused imports 2008-03-06 22:23:41 +01:00
Patrick Mezard
6b7a646271 convert: detect baz before tla
The former seems to handle repositories built by the latter, the opposite is not true.
2008-02-12 23:35:35 +01:00
Aleix Conchillo Flaque
4b38213355 convert: added GNU Arch (tla) tests and related fixes 2008-02-12 11:35:06 +01:00
Aleix Conchillo Flaque
996e817ac1 convert: added gnu arch (baz) tests 2008-02-12 10:38:34 +01:00
Aleix Conchillo Flaque
dfd4ccf204 convert: support binary files, link to files (viceversa) in gnu arch 2008-02-09 17:36:42 +01:00
Aleix Conchillo Flaque
d3422706de convert: improve gnu arch source performance and other fixes
- Improve performance by reading 'replay' output instead of
  calling 'delta' command after 'replay'. This increases speed
  significantly.

- Some times 'replay' command might fail with conflicts (don't
  know why), a new get from that revision just fixes it. So,
  if something fails, get a fresh copy from that revision and
  try from there.
2008-02-08 13:56:29 +01:00
Aleix Conchillo Flaque
b0e33643f0 convert: do not skip some lines in gnu arch summaries 2008-02-07 12:31:29 +01:00
Aleix Conchillo Flaque
718a1ad73e convert: add full description for gnu arch revisions 2008-02-06 11:42:04 +01:00
Aleix Conchillo Flaque
5eeb30050d convert: added GNU Arch source converter 2008-02-05 09:30:08 +01:00