Edgewall Software

Changes between Version 50 and Version 51 of TracMercurial


Ignore:
Timestamp:
Jan 19, 2009, 11:30:26 AM (15 years ago)
Author:
Christian Boos
Comment:

update to current releases (r7744 / r7757)

Legend:

Unmodified
Added
Removed
Modified
  • TracMercurial

    v50 v51  
    22= Mercurial Plugin for Trac (#1847) =
    33
    4 There is an '''experimental''' plugin for Trac [milestone:0.10] and  Trac [milestone:0.11]
    5 which enables [http://www.selenic.com/mercurial Mercurial]
    6 to be used instead of [http://subversion.tigris.org Subversion]
     4This a plugin for Trac which enables
     5[http://www.selenic.com/mercurial Mercurial]
     6to be used instead of [http://subversion.tigris.org Subversion] 
    77as the VersioningSystemBackend for Trac.
    88
    9 ''The plugin being experimental, expect some rough edges
    10 and a somewhat unstable set of features/documentation...''
    11 
    12 Change Logs:
     9''The plugin has been marked as experimental for a while, but even if there are still some rough edges here and there, it's gotten quite usable.''
     10
     11Please take care to use a recent version of the plugin before reporting issues.
     12See the [#Releases version table] below.
     13
     14Detailed Change Logs:
    1315 * log:sandbox/mercurial-plugin
    1416 * log:sandbox/mercurial-plugin-0.11
     
    7678==== Releases ====
    7779|| '''Version''' || mercurial-plugin || Trac vc-refactoring || Compatible with hg         ||
    78 || '''0.12.0.5'''  || [source:sandbox/mercurial-plugin-0.12@7443] || [source:sandbox/multirepos] ('''not''' trunk) ||  1.0.x, 1.1.x, tip ||
    79 ||'''0.11.0.6''' || [source:sandbox/mercurial-plugin-0.11@7442] || [milestone:0.11] or [source:branches/0.11-stable] ||  ''0.9.x'' (?), 1.0.x, 1.1.x, tip  ||
     80|| '''0.12.0.6'''  || [source:sandbox/mercurial-plugin-0.12@7757] || [source:sandbox/multirepos] ('''or''' trunk) ^(1)^ ||  1.0.x, 1.1.x, tip ||
     81||'''0.11.0.7''' || [source:sandbox/mercurial-plugin-0.11@7744] || [milestone:0.11] or [source:branches/0.11-stable] ||  ''0.9.x'' (?), 1.0.x, 1.1.x, tip  ||
     82|| ''0.12.0.5''  || [source:sandbox/mercurial-plugin-0.12@7443] || [source:sandbox/multirepos] (''possibly'' trunk as well) ||  1.0.x, 1.1.x, tip ||
     83||''0.11.0.6'' || [source:sandbox/mercurial-plugin-0.11@7442] || [milestone:0.11] or [source:branches/0.11-stable] ||  ''0.9.x'' (?), 1.0.x, 1.1.x, tip  ||
    8084|| 0.11.0.4 || [source:sandbox/mercurial-plugin-0.11@7243] || [milestone:0.11] or [source:branches/0.11-stable] ||  0.9.x, 1.0.x, tip  ||
    8185|| 0.10.0.2  || [source:sandbox/mercurial-plugin] (0.10) || [milestone:0.10]    ||  0.7, 0.8, 0.9  ||
     
    8589||      0.1      ||       r2514      ||        r2511        ||  0.7, tip without 1d7d0c07 ||
    8690
    87 Note:
     91 1. The 0.12 version has i18n support but there's currently a problem when deploying this plugin as an ".egg". Workarounds exists, see #7877.
     92
     93General Notes:
    8894 - '''the ''Compatible with hg'' column above needs to be updated''' [[br]]
    8995   It is quite likely that some 0.9.x versions (maybe even 0.9.5) won't work anymore with the 0.11 and 0.12 versions of the plugin (i.e. those are the versions actively maintained). Most notably, since r7742 the `filectx` API is used, which means that versions anterior to hg:482c524dd9ab can't possibly work (0.9.1 ''could'' work - I should check). Anyway, at this time you should not be using a pre-1.0 version of Mercurial anymore.
     
    283289=== To cache or not to cache? ===
    284290
    285 When you try TracMercurial on the kernel repo, you quickly realize
    286 that it's way too slow without a db!
    287 Also, the way the diffs are produced currently (i.e. by Trac, from the full
    288 content of the files) is also too slow to be usable on such big repositories
    289 (e.g. the kernel changeset fc66195f585a took 7 minutes to be displayed on my
    290 machine).
    291 See #2591.
     291Recent versions of the plugin (r7744 for 0.11 or r7757 for 0.12) have a greatly improved browsing speed. It's now possible to navigate on repositories of the size of the Linux kernel repo.
     292
     293However, producing diffs or even gathering the timeline events for repositories of such size is still too slow.
     294For the diffs, we could reduce the amount diffs generated (see #2591, #7975).
     295For the timeline, we should really have a cache, not only for the performance issue but also because the current heuristic for retrieving the changesets in a given period of time doesn't always work (see r5365).
    292296
    293297=== Cool Features ===
     
    349353 * Log in as an user with `TRAC_ADMIN` permission, and look in the `Admin` pages, `General / Plugins`. Do you see the entry for the !TracMercurial plugin there? If yes, is the !MercurialConnector component enabled?
    350354
     355=== Known Issues ===
     356
     357[[TicketQuery(component=plugin/mercurial,milestone=not applicable,status=!closed)]]
    351358
    352359== Implementation Notes ==