On Fri, 24 Feb 2023 15:11:35 +0100
Adi Kriegisch <[email protected]> wrote:

> Dear Jakob,
> 
> > I've enhanced the patch from the upstream bugtracker by file name
> > encoding support as configured in redmine.  
> that is ingenious! Thank you very much!
>  
> > Could you test the new patch [1]?
> > 
> > [1] 
> > https://salsa.debian.org/ruby-team/redmine/-/blob/bts1031811/debian/patches/mercurial-py3-fix
> >   
> The patch works just fine except for one thing; the change in the ruby
> adapter needs to read something like this:
>   |     full_args << '--config' << 
> "redminehelper.fileencoding=#{path_encoding}"
> because using '<<' to add the path_encoding variable causes ruby to add a
> space in front of -- in my case -- 'UTF-8' ultimately leading to this
> error:
>  | hg: unknown command 'UTF-8'
>  | (use 'hg help' for a list of commands)

Ah, good catch! That's what happens when you only test it from the command line 
;)

Thanks, will fix that.


-- 
ceterum censeo microsoftem esse delendam.

Attachment: pgpjRDWG8P2pL.pgp
Description: OpenPGP digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to