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

Automatically create working copy on import #192

Closed
olsen232 opened this issue Aug 5, 2020 · 1 comment
Closed

Automatically create working copy on import #192

olsen232 opened this issue Aug 5, 2020 · 1 comment
Assignees

Comments

@olsen232
Copy link
Collaborator

olsen232 commented Aug 5, 2020

  • sno init won't create a working copy, but it will store a default working copy location and working copy version in the repo config.
  • sno init --workingcopy-path=some_path --workingcopy-version=some_version will override the defaults
  • sno init --bare will create a repo which never has a working copy

The following commands all update the working copy. If no working copy is present (as happens on the first import), one will be automatically created using the info in the repo config:

  • sno import
  • sno checkout, sno switch, sno reset
@olsen232 olsen232 self-assigned this Aug 5, 2020
@craigds
Copy link
Member

craigds commented Aug 9, 2020

is this done? I see de663b3 is in master.

Probably upgrade should also create a working copy, if there was one before the upgrade. At present it doesn't.

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

No branches or pull requests

2 participants