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

Retry rename on lock induced failures (#16435) #16439

Merged
merged 1 commit into from
Jul 15, 2021

Commits on Jul 15, 2021

  1. Retry rename on lock induced failures (go-gitea#16435)

    Backport go-gitea#16435
    
    Due to external locking on Windows it is possible for an
    os.Rename to fail if the files or directories are being
    used elsewhere.
    
    This PR simply suggests retrying the rename again similar
    to how we handle the os.Remove problems.
    
    Fix go-gitea#16427
    
    Signed-off-by: Andrew Thornton <[email protected]>
    Co-authored-by: techknowlogick <[email protected]>
    zeripath and techknowlogick committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    eda977b View commit details
    Browse the repository at this point in the history