-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 checkout callback during add/commit #9445
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #9445 +/- ##
==========================================
- Coverage 91.59% 91.35% -0.24%
==========================================
Files 488 488
Lines 38090 38101 +11
Branches 5462 5464 +2
==========================================
- Hits 34888 34807 -81
- Misses 2637 2710 +73
- Partials 565 584 +19
☔ View full report in Codecov by Sentry. |
# callback passed act as a aggregate callback. | ||
# do not let checkout to call set_size and change progressbar. | ||
class CallbackProxy(Callback): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like this that it passes an aggregated callback, but this seemed easier to do for now.
@efiop, I am getting: dvc/repo/worktree.py: note: In function "push_worktree":
dvc/repo/worktree.py:176:27: error: Unsupported operand types for + ("int" and
"Dict[str, List[Change]]") [operator]
pushed += checkout(
^
Found 1 error in 1 file (checked 283 source files What is the equivalent to get total no of push now? |
There's unchanged too, right? |
@skshetry No, this is index diff(checkout really) not hashfile diff, it has |
f7cd67f
to
a8716e2
Compare
Thanks, updated. |
Fix #6226.
Current dependencies on/for this PR:
TODO:
dvc-objects
dvc-data