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
Fix#1096: print runtime errors in context of failing subproject
Replace the pattern of collecting RuntimeErrors across all subprojects
and printing them at the end with immediate in-context logging via
`logger.print_warning_line(project.name, str(exc))` at the point of
failure. This ensures errors like "svn not available on system" appear
next to the subproject they belong to instead of at the end of the run.
The final `raise RuntimeError()` (no message) still produces a non-zero
exit code without double-printing.
Also bumps version to 0.14.0 and updates CHANGELOG, feature tests.
https://claude.ai/code/session_01RTgPqrX37jFkK843dq65Bu
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ Release 0.14.0 (unreleased)
10
10
* Allow ``dfetch freeze`` to accept project names to freeze only specific projects (#1063)
11
11
* Edit manifest in-place when freezing inside a git or SVN superproject, preserving comments and layout (#1063)
12
12
* Add new ``remove`` command to remove projects from manifest and disk (#26)
13
+
* Print runtime errors (e.g. ``svn not available on system``) directly in context of the failing subproject instead of collecting and showing them at the end (#1096)
@@ -136,7 +136,7 @@ Feature: Checking dependencies from an archive
136
136
When I run "dfetch check SomeProject" in MyProject
137
137
Then the output shows
138
138
"""
139
-
Dfetch (0.13.0)
139
+
Dfetch (0.14.0)
140
140
SomeProject:
141
141
> Local changes were detected, please generate a patch using 'dfetch diff SomeProject' and add it to your manifest using 'patch:'. Alternatively overwrite the local changes with 'dfetch update --force SomeProject'
@@ -116,7 +116,7 @@ Feature: Checking dependencies from a git repository
116
116
And I run "dfetch check"
117
117
Then the output shows
118
118
"""
119
-
Dfetch (0.13.0)
119
+
Dfetch (0.14.0)
120
120
ext/test-repo-tag:
121
121
> wanted (v2.0), current (v1), available (v2.0)
122
122
"""
@@ -138,7 +138,7 @@ Feature: Checking dependencies from a git repository
138
138
When I run "dfetch check SomeProject"
139
139
Then the output shows
140
140
"""
141
-
Dfetch (0.13.0)
141
+
Dfetch (0.14.0)
142
142
SomeProject:
143
143
> Local changes were detected, please generate a patch using 'dfetch diff SomeProject' and add it to your manifest using 'patch:'. Alternatively overwrite the local changes with 'dfetch update --force SomeProject'
0 commit comments