| 38 | The mirror contains `trunk`, all `0.x-stable` branches since 0.7 as well as the corresponding tags. To facilitate linking the Mercurial changesets with the corresponding changesets in Subversion, you may want to install the [http://rc.c-space.org/hg/HgSvnUtils/ HgSvnUtils] Mercurial extension (maintained by RemyBlank). It automatically adds "virtual" tags for every changeset converted from Subversion, containing the SVN revision number: |
| 39 | {{{ |
| 40 | $ hg glog |
| 41 | o 6997[svn-9975,tip]:6995 20725063f3e2 2010-07-31 14:38 +0000 rblank |
| 42 | | Merged [9974] from 0.12-stable. |
| 43 | | |
| 44 | | o 6996[svn-9974]:6994 3b48c6d5a06b 2010-07-31 14:37 +0000 rblank |
| 45 | | | 0.12.1dev: Follow-up to [9971], fixed the display of the default repository description. |
| 46 | | | |
| 47 | o | 6995[svn-9973]:6988 fd102216a0af 2010-07-31 14:32 +0000 rblank |
| 48 | | | Merged [9964:9972] from 0.12-stable. |
| 49 | | | |
| 50 | | o 6994[svn-9972] 39f0644d4995 2010-07-31 14:21 +0000 rblank |
| 51 | | | 0.12.1dev: Fixed the dynamic expansion of directories in the repository browser on IE7. |
| 52 | | | |
| 53 | | o 6993[svn-9971] 2d8e405eb5e8 2010-07-31 11:31 +0000 rblank |
| 54 | | | 0.12-stable: Fixed the display of the description of named repositories when showing the repository root. |
| 55 | | | |
| 56 | }}} |
| 57 | |
| 58 | This allows easily updating to a given SVN revision, or comparing to a given SVN revision: |
| 59 | |
| 60 | {{{ |
| 61 | $ hg up svn-9974 |
| 62 | 9 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 63 | $ hg di -r svn-9972 |
| 64 | diff --git a/trac/versioncontrol/web_ui/browser.py b/trac/versioncontrol/web_ui/browser.py |
| 65 | --- a/trac/versioncontrol/web_ui/browser.py |
| 66 | +++ b/trac/versioncontrol/web_ui/browser.py |
| 67 | @@ -398,7 +398,7 @@ |
| 68 | |
| 69 | data = { |
| 70 | 'context': context, 'reponame': reponame, 'repos': repos, |
| 71 | - 'repoinfo': all_repositories.get(reponame), |
| 72 | + 'repoinfo': all_repositories.get(reponame or ''), |
| 73 | 'path': path, 'rev': node and node.rev, 'stickyrev': rev, |
| 74 | 'display_rev': display_rev, |
| 75 | 'created_path': node and node.created_path, |
| 76 | }}} |
| 77 | |