Skip to content
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

Fix creating graphs for directories in Windows (fix #190) #191

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

devdanzin
Copy link
Collaborator

In Windows, graphs for directories don't work due to non-matching path separators in rev.revision.tracked_files and rev.get. This trivial patch fixes it, and doesn't break graph creation in Linux (tested on WSL).

Fixes #190.

@codecov-commenter
Copy link

codecov-commenter commented Jul 8, 2023

Codecov Report

Merging #191 (973ada3) into master (6db8374) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #191   +/-   ##
=======================================
  Coverage   95.25%   95.26%           
=======================================
  Files          23       23           
  Lines        1222     1224    +2     
  Branches      275      275           
=======================================
+ Hits         1164     1166    +2     
  Misses         33       33           
  Partials       25       25           
Impacted Files Coverage Δ
src/wily/commands/graph.py 100.00% <100.00%> (ø)

@devdanzin devdanzin mentioned this pull request Jul 10, 2023
@tonybaloney
Copy link
Owner

thanks!

@tonybaloney tonybaloney merged commit 516a4d0 into tonybaloney:master Jul 12, 2023
35 checks passed
@devdanzin devdanzin deleted the fix_graph_path branch July 12, 2023 03:44
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 this pull request may close these issues.

Graphs for directories don't work in Windows due to path representation
3 participants