[DRE-maint] Bug#1031811: redmine: mercurial helper broken

Adi Kriegisch adi at kriegisch.at
Fri Feb 24 14:11:35 GMT 2023


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)

Except for that, everything works just fine! Thank you very much! :)

all the best,
    Adi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20230224/53327306/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list