Files
Fast-Export/t
Günther Nußmüller ad96531587 Fix TypeError when using the --origin option
Encode the `name` parameter to bytes (using the utf8 codec).

This fixes the `TypeError` in subsequent concatenations in `get_branch`:

```
Traceback (most recent call last):
  # stack omitted for brevity
  File "C:\Dev\git-migration\fast-export\hg2git.py", line 73, in get_branch
    return origin_name + b'/' + name
TypeError: can only concatenate str (not "bytes") to str
```

The conversion is done unconditionally since the passed
parameter is currently always of type `str`.
2025-07-16 14:41:45 +02:00
..
2023-03-26 19:43:04 -06:00
2023-03-13 20:18:29 -06:00
2025-03-29 18:39:27 +01:00
2023-03-26 20:05:03 -06:00
2024-07-06 02:46:07 -07:00