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

Checking out local Fossi repository can fail in many ways #16

Open
rillig opened this issue Oct 29, 2018 · 1 comment
Open

Checking out local Fossi repository can fail in many ways #16

rillig opened this issue Oct 29, 2018 · 1 comment

Comments

@rillig
Copy link

rillig commented Oct 29, 2018

Given a local Fossil repository, I tried to create a new project out of it.

image

I thought that "Remote URL" wouldn't fit for opening a repository from the local disk since there is no "Browse File System" button at the right. Additionally, I remembered that in Eclipse, Git distinguishes between local and remote repositories.

Therefore I tried the second field to "Open a Local Repository File". When I selected my repository file, I got this question:

image

Whoops, no, of course not. I wanted to open it, not replace it. So this must be the wrong path.

As the next try, I entered the following into the "Remote Repository" field: file://c:/Users/rillig/fossil/scoold/fossil.sqlite3.

Then I focused the "Local Repository File" and pressed Shift+Enter. The dialog looked like this:

image

Note that I'm currently in the git/scoold directory, not in fossil/scoold. I pressed Shift+Tab, Shift+Tab to get to the text field at the top, pressed Ctrl+Left, Ctrl+Left, Ctrl+W and typed "fossil". As soon as I had typed the last letter, the cursor jumped to the right end of the text field since the directory exists:

image

The directory I typed in the text field is already expanded (nice), so I pressed Tab, Down to select the file. Then, to not overwrite it, I pressed Tab and typed .local into the "File name" field. Then I pressed Enter.

image

There must be something wrong here. Sure, I selected fossil.sqlite3 from the file tree, but then I edited the file name. Still the question asks about the file from the file tree. I bravely answered with Yes, and nothing bad happened. The file name was just copied to the "Local Repository File" field.

As the last step I typed C:\Users\rillig\fossil\scoold\work (which does not yet exist) into the "Local Checkout Folder" field and pressed Enter.

image

This error message makes the "Overwrite?" question above useless.

Next try:

image

Pressing Enter in this dialog results in this error message:

image

Trying again, this time creating the work directory before, everything worked. Still, it could have gone a lot smoother. Especially for people trying Fossil for the first time, this exact scenario might be the first contact, and it should be nicer than this.

@rillig
Copy link
Author

rillig commented Nov 2, 2019

I just experienced exactly the same again.

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

1 participant