From: Catalin Marinas Date: Thu, 18 May 2006 12:11:52 GMT Subject: Re: [PATCH] Handle branch names with slashes Message-ID: In-Reply-To: <20060518065040.GA10497@backpacker.hemma.treskal.com> On 18/05/06, Karl Hasselström wrote: > Teach stgit to handle branch names with slashes in them; that is, > branches living in a subdirectory of .git/refs/heads. [...] > Catalin, I hope you're paying attention when trying to pick the > correct three patches out of the salvos I've sent you. :-) Hopefully, I applied them correctly. I'll update the public repository tonight and you can check whether they are OK or not. > --- a/stgit/commands/common.py > +++ b/stgit/commands/common.py [...] > + if len(dirs) != 0: > + # We have branch names with / in them. > + branch_chars = r'[^@]' > + patch_id_mark = r'//' > + else: > + # No / in branch names. > + branch_chars = r'[^@%/]' I removed % from the above regexp. Thanks for the patches. Great work. -- Catalin