Re: deleting databases

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Hendrik Boom <[email protected]> writes:

> Rereading the tutorial for the first time in years I discovered the llovely command 
>
> $ mtn db init --db=:beth
>
> in section 2.3, which creates a database in a standard location, 
> normally $HOME/.monotone/databases
>
> I immediately tried it out, and created
>
> ~/.monotone/databases/onion.mtn
>
> And, of course, I then wondered how to delete it again.
>
>
> Now I get to ask -- does monotone keep any information on this 
> database  outside of the database itself and the _MTN directories in 
> its workspaces.

No, that is the only persistent storage mtn uses.

> Because if not, I can delete it with a simple
> 	rm ~/.monotone/databases/onion.mtn

Yes, that suffices.

Unless, of course, you have synced it somewhere.

-- 
-- Stephe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.