Re: [Trac] Migrate a Trac Plugin to a GIT repository?
"'Rob Hills' via Trac Users" <trac-users-/[email protected]> Mon, 30 Jun 2025 01:35:12 +0800
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <6dfbefa8a89fdecb18bca51e1d6c01dc7427645f.camel@medimorphosis.com.au> |
Hi Jun Omae, On Mon, 2025-06-30 at 00:24 +0900, Jun Omae wrote: > On 2025/06/29 17:30, 'Rob Hills' via Trac Users wrote: > > I started with a simple example: the TicketSidebarProviderPlugin > > <https://trac-hacks.org/wiki/TicketSidebarProviderPlugin>. I tried > > the following on my computer: > > > > git svn clone -s > > https://trac-hacks.org/svn/ticketsidebarproviderplugin < > > https://trac-hacks.org/svn/ticketsidebarproviderplugin> ticketsideb > > arproviderplugin.git > > > > The Subversion URL of the plugin doesn't have trunk, branches, tags. > Therefore, -s (--stdlayout) shouldn't be used. > > Instead, try the following: > $ git svn clone --prefix=svn/ --trunk=0.11 -r5528:HEAD > https://trac-hacks.org/svn/ticketsidebarproviderplugin > Many thanks again for your prompt and detailed reply. The "git svn clone" command that you supplied worked perfectly. I'll now be able to apply this to the other plugins I need to import. -- Rob Hills Waikiki, Western Australia -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/6dfbefa8a89fdecb18bca51e1d6c01dc7427645f.camel%40medimorphosis.com.au.