Skip to content

Bug in SVN segment when navigating to an ignored folder inside a versioned folder #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tberne opened this issue Apr 26, 2018 · 0 comments · May be fixed by #399
Open

Bug in SVN segment when navigating to an ignored folder inside a versioned folder #395

tberne opened this issue Apr 26, 2018 · 0 comments · May be fixed by #399

Comments

@tberne
Copy link

tberne commented Apr 26, 2018

I have the following structure:

.../Lumis_PortalJava
              |- portal_install

The Lumis_PortalJava is versioned in SVN.
It's child portal_install is ignored.
Whenever I enter in portal_install (and any subfolder), I get the following error:

powerline-shell-svn-bug

It seems to be a problem with the following method: _get_svn_revision().

Either this method should return an empty revision (what would produce a strange behavior, IMHO) or parse_svn_stats should ignore ingored files or folders (those line starting with I). The second approach seems to produce a better user experience (but I haven't tried any of those to be sure).

This was referenced Apr 26, 2018
philiparola added a commit to philiparola/powerline-shell that referenced this issue Sep 26, 2018
A fix for b-ryan#395. SVN returns an error in ignored directories.  This adds the case that
catches this, and will display 'ignored' in the place of the commit ID.
philiparola added a commit to philiparola/powerline-shell that referenced this issue Sep 26, 2018
A fix for b-ryan#395. SVN returns an error in ignored directories.  This adds
the case that catches this, and will display 'ignored' in the place of
the commit ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant