Skip to content

uv sync should not emit "DEBUG Removing existing directory due to --clear" message #14734

@zanieb

Description

@zanieb

This message is confusing in uv sync, because... --clear isn't provided, that's jut the default uv sync behavior.

This may require adding an optional Option<OnExistingSource> enum to the OnExisting type so we can differentiate between OnExisting::Remove(Some(OnExistingSource::ClearFlag)) and OnExisting::Remove(None). We'd also be able to differentiate between OneExistingSource::ClearEnv if we wanted? I'm not sure if this is the best approach, just an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedContribution especially encouragedtracingVerbose output and debugging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions