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

Exit if a git repository exists on the new backup path #171

Merged
merged 6 commits into from
Nov 9, 2018

Conversation

nunomdc
Copy link
Contributor

@nunomdc nunomdc commented Nov 1, 2018

Issue #168

Verifies if a Git repository already exists on destination path before trying to move the existing backup directory.

Copy link
Owner

@alichtman alichtman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small refactoring and then I'll merge.

shallow_backup/git_wrapper.py Outdated Show resolved Hide resolved
shallow_backup/git_wrapper.py Outdated Show resolved Hide resolved
shallow_backup/git_wrapper.py Outdated Show resolved Hide resolved
shallow_backup/prompts.py Show resolved Hide resolved
Copy link
Owner

@alichtman alichtman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing to talk about and then I'll merge this in.

shallow_backup/git_wrapper.py Outdated Show resolved Hide resolved
@alichtman alichtman merged commit 2cf63d8 into alichtman:master Nov 9, 2018
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.

2 participants