Comments (4)
Thanks for the report. I'll try and reproduce. I assume this is on a *nix platfiorm?
from dolt.
@fulghum is going to run through a bunch of tests here and make individual bugs. I have a long running import running on the default port and I don't want to kill it so I can't test myself.
from dolt.
Hi @guilhem, thanks for taking the time to report this one. I did an audit of how Dolt CLI commands behave when you run them in a directory that is being used for a dolt sql-server, but has not been initialized as a Dolt database yet, and I left the results in #7875.
Some commands display a better error message (i.e. "The current directory is not a valid dolt repository."), but many other commands display a confusing error message like the one you reported (i.e. "The current directories repository state is invalid"). I'm working on some changes to make the CLI commands consistently report "The current directory is not a valid dolt repository".
For dolt init
, I'm going to customize the error message with some better instructions. Since a running dolt sql-server
won't pick up changes properly if you run dolt init
on the directory it's running from, we'll output an error message telling customers that a dolt sql-server
is running from the same directory, and that it needs to be stopped before that directory can be initialized.
Let us know if you think more is needed to make those error messages more helpful and easier to understand.
from dolt.
This should be fixed by #7876 and the fix to dolt remotes #7622 when @macneale4 has it. I'll resolve as we decomposed it into multiple bugs.
from dolt.
Related Issues (20)
- Support for git's rerere HOT 1
- Add support for `ALTER USER ... WITH <resource option>`
- implement `SHOW CREATE DATABASE AS OF ...`
- Make sure deleting a branch behaves similarly to `drop database` HOT 2
- `replaceCountStar` should also replace count(primary key) and unique indexes with only non-nullable columns HOT 1
- string comparison ignores `NUL` character by default
- make `ROW` keyword optional in `VALUES` statement
- trim whitespace when casting from string
- `ALT + TAB` breaks dolt shell in Windows CMD HOT 4
- have default collation be `utf8mb4_0900_ai_ci` HOT 3
- support subquery in aggregate syntax
- `CHECK` constraints on virtual columns silently dropped
- Failed to write conflicts table HOT 1
- Confusing error messages when using Dolt CLI from within a running Dolt sql-server directory
- Pomelo Entity Framework connector is not able to recreate database. HOT 6
- `filter-branch` destroys working and staged roots HOT 2
- Pomelo Entity Framework connector is not able to commit changes HOT 6
- `filter-branch` option to apply query to `WORKING` and `STAGED` roots
- REFLOG is empty after backup restore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dolt.