You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running wily graph src/wily/ raw.loc in Windows results in an empty graph. It turns out that it's due to failing to match paths with different path separators. Specifically, the line below fails to find a value that is present in the revision:
Running
wily graph src/wily/ raw.loc
in Windows results in an empty graph. It turns out that it's due to failing to match paths with different path separators. Specifically, the line below fails to find a value that is present in the revision:wily/src/wily/commands/graph.py
Line 85 in 72c4bb8
To Reproduce
wily build
wily graph src/wily/ raw.loc
Expected behavior
A graph with many lines (for each tracked file in that directory) should open in the browser.
Desktop
Fix
If we convert
path
topathlib.Path(path)
right after the following line, the graph is generated correctly:wily/src/wily/commands/graph.py
Line 77 in 72c4bb8
Once I test that this fix doesn't create issues in Linux, I'll submit a PR.
The text was updated successfully, but these errors were encountered: