= Trac Subversion Repository = Everyone has read access to the Trac Subversion repository located at: http://svn.edgewall.org/repos/trac/ In addition, see TracDev/SubmittingPatches for instructions to create and submit patches. Example: {{{ $ svn checkout http://svn.edgewall.org/repos/trac/trunk $ cd trunk $ emacs $ svn diff > my_great_patch.diff }}} Please attach patches to the appropriate ticket for review and merging. If you think you should have write-permission to the repository, please contact JonasBorgstrom directly: he will possibly give you an account and a password with which you will be able to commit to the repository (in that case, use HTTPS for the checkout, i.e. https://svn.edgewall.org/repos/trac/). == Mirrors We now have official DVCS mirrors of the Subversion trunk and maintenance branches which are updated after every commit. For anything else than small fixes, it is more convenient to maintain your changes in your own repositories as it'll be easier to maintain them as the code base continues to evolve upstream (rebase, MQ, etc.). === Mercurial mirror on bitbucket.org http://bitbucket.org/edgewall/trac You can either register for a BitBucket account and then "Fork" the above repository, which will create your own `trac` repository under your account. Alternatively, you can directly clone the edgewall/trac repository and submit your changes via patches attached to the relevant tickets. {{{ hg clone http://bitbucket.org/edgewall/trac }}} 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: {{{ $ hg glog o 6997[svn-9975,tip]:6995 20725063f3e2 2010-07-31 14:38 +0000 rblank | Merged [9974] from 0.12-stable. | | o 6996[svn-9974]:6994 3b48c6d5a06b 2010-07-31 14:37 +0000 rblank | | 0.12.1dev: Follow-up to [9971], fixed the display of the default repository description. | | o | 6995[svn-9973]:6988 fd102216a0af 2010-07-31 14:32 +0000 rblank | | Merged [9964:9972] from 0.12-stable. | | | o 6994[svn-9972] 39f0644d4995 2010-07-31 14:21 +0000 rblank | | 0.12.1dev: Fixed the dynamic expansion of directories in the repository browser on IE7. | | | o 6993[svn-9971] 2d8e405eb5e8 2010-07-31 11:31 +0000 rblank | | 0.12-stable: Fixed the display of the description of named repositories when showing the repository root. | | }}} This allows easily updating to a given SVN revision, or comparing to a given SVN revision: {{{ $ hg up svn-9974 9 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg di -r svn-9972 diff --git a/trac/versioncontrol/web_ui/browser.py b/trac/versioncontrol/web_ui/browser.py --- a/trac/versioncontrol/web_ui/browser.py +++ b/trac/versioncontrol/web_ui/browser.py @@ -398,7 +398,7 @@ data = { 'context': context, 'reponame': reponame, 'repos': repos, - 'repoinfo': all_repositories.get(reponame), + 'repoinfo': all_repositories.get(reponame or ''), 'path': path, 'rev': node and node.rev, 'stickyrev': rev, 'display_rev': display_rev, 'created_path': node and node.created_path, }}} === Git mirror on github.com http://github.com/edgewall/trac You can either register for a GitHub account and then "Fork" the above repository, which will create your own `trac` repository under your account. Alternatively, you can directly clone the edgewall/trac repository and submit your changes via patches attached to the relevant tickets. {{{ git clone http://github.com/edgewall/trac.git }}} ---- See also: HowToContribute, TracDev, TracProject