Skip to content

Parsing error due to tabs in config file #186

Description

@tasmin

When I create a bare repo and push from GitExtensions into it, the config file has tabs in it. GitStack throws parsing error when there are tabs in the config file. Sometimes the page does not work, for example, click on the users icon for a rep, it shows no users, and Add User dialog lists no users. Some other pages show this error: File contains parsing errors: ...

This can be fixed by adding the 2nd line in python/lib/ConfigParser.py for defining OPTCRE:

    OPTCRE = re.compile(
        r'\s*'                                # ignore any starting white space [by Tasmin]

Looks like OPTCRE_NV should have the same fix:

    OPTCRE_NV = re.compile(
        r'\s*'                                # ignore any starting white space [by Tasmin]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions