You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Basil James Whitehouse III <ba...@sympatico.ca> on 2001/11/15 01:57:43 UTC
svnlook and error #21067
Hello.
I've been following subversion off and on since I saw a post on the cvs list
( a long while ago ). When m5 came out I decided to try it out against a
local repository and am continuing with m6. So far things are working okay,
but today I finally got around to trying svnlook.
I tried it with the default no parameters and got this error:
---
basil@roo:~/svnWorking/eval$ svnlook file://localhost/usr/local/svnRepo
svn_error: #21067 : <Berkeley DB error>
Berkeley DB error while opening environment for filesystem
file://localhost/usr/local/svnRepo/db:No such file or directory
---
I searched the mailing list, and poked my nose at the source, but my c is
rusty and I didn't see any messages pertaining to this so I thought I'd post.
I have the latest berkly db running, and am going against a local repo. I
took a look at the path it was complaining about and it's there, so I'm not
too sure what's going on.
Any ideas?
Thanks in advance,
Jamie.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by cm...@collab.net.
Greg Stein <gs...@lyra.org> writes:
> Note that svnlook and svnadmin will be combined at some point. (hmm; I don't
> see an issue; am I missing it?)
We talked in the past about trying to have these two programs (while
remaining two different programs) share some code behind the scenes.
As it turns out, the programs are so entirely different in their roles
and backends that it is pointless to attempt a sourcecode merge.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by Greg Stein <gs...@lyra.org>.
On Wed, Nov 14, 2001 at 10:11:46PM -0600, Ben Collins-Sussman wrote:
> Basil James Whitehouse III <ba...@sympatico.ca> writes:
>...
> > What would the path look like if I wanted to svnlook at a remote server? Or
> > is that possible?
>
> Not possible with 'svnlook' or 'svnadmin'. They are tools that
> *directly* link with the filesystem (libsvn_fs), and thus directly use
> Berkeley DB. They're meant for examining/tweaking local repositories
> only. 'svnadmin' allows an administrator to tweak a log message, or
> remove a dead transaction. 'svnlook' is what gets run by the
> post-commit hook, so a commit-mail will have real contents.
Note that svnlook and svnadmin will be combined at some point. (hmm; I don't
see an issue; am I missing it?)
But also: many of the operations that svnadmin can perform today *could* be
performed remotely through WebDAV. Through various combinations of PROPFIND
and reports to query information, using DELETE to toss old transactions, or
PROPPATCH to update a log comment.
One day...
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by Ben Collins-Sussman <su...@collab.net>.
Basil James Whitehouse III <ba...@sympatico.ca> writes:
> I assumed that svnlook said 'REPOS_PATH' it wanted the same format that svn
> checkout wanted when it said 'REPOSPATH', which needs the file://localhost
> when there is no working copy.
Yeah, ambiguity: gotta love it! ...maybe.
>
> What would the path look like if I wanted to svnlook at a remote server? Or
> is that possible?
Not possible with 'svnlook' or 'svnadmin'. They are tools that
*directly* link with the filesystem (libsvn_fs), and thus directly use
Berkeley DB. They're meant for examining/tweaking local repositories
only. 'svnadmin' allows an administrator to tweak a log message, or
remove a dead transaction. 'svnlook' is what gets run by the
post-commit hook, so a commit-mail will have real contents.
If you want to 'look' at remote server, try pointing your web browser
at the repository URL. :-) :-)
> > Perhaps we need documentation. :-)
>
> Careful, I may take you up on that...
Quick! Get that license plate number!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by cm...@collab.net.
cmpilato@collab.net writes:
>> I assumed that svnlook said 'REPOS_PATH' it wanted the same format that svn
>> checkout wanted when it said 'REPOSPATH', which needs the file://localhost
>> when there is no working copy.
>
> Heh, I have uncommitted changes already in my tree for changing the
> references in 'svn' to REPOS_URL. :-) Just noticed them last night
> while doing other things, and realized how confusing that was!
Okay...so I lied. Those changes weren't uncommitted after all. They
were added in Revision 454. Cool.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by cm...@collab.net.
Basil James Whitehouse III <ba...@sympatico.ca> writes:
> ahh, thanks, that worked.
>
> I assumed that svnlook said 'REPOS_PATH' it wanted the same format that svn
> checkout wanted when it said 'REPOSPATH', which needs the file://localhost
> when there is no working copy.
Heh, I have uncommitted changes already in my tree for changing the
references in 'svn' to REPOS_URL. :-) Just noticed them last night
while doing other things, and realized how confusing that was!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by Basil James Whitehouse III <ba...@sympatico.ca>.
On November 14, 2001 09:18 pm, Ben Collins-Sussman wrote:
> Basil James Whitehouse III <ba...@sympatico.ca> writes:
> > basil@roo:~/svnWorking/eval$ svnlook file://localhost/usr/local/svnRepo
> >
> > svn_error: #21067 : <Berkeley DB error>
> > Berkeley DB error while opening environment for filesystem
> > file://localhost/usr/local/svnRepo/db:No such file or directory
>
> If you run 'svnlook' or 'svnadmin' with no args, they print usage
> messages that say to use a "REPOS_PATH". However, you're using a
> repos URL. Forget the file:///, just specify a regular unix path.
ahh, thanks, that worked.
I assumed that svnlook said 'REPOS_PATH' it wanted the same format that svn
checkout wanted when it said 'REPOSPATH', which needs the file://localhost
when there is no working copy.
What would the path look like if I wanted to svnlook at a remote server? Or
is that possible?
>
> Perhaps we need documentation. :-)
Careful, I may take you up on that...
Thanks again,
Jamie.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svnlook and error #21067
Posted by Ben Collins-Sussman <su...@collab.net>.
Basil James Whitehouse III <ba...@sympatico.ca> writes:
> basil@roo:~/svnWorking/eval$ svnlook file://localhost/usr/local/svnRepo
>
> svn_error: #21067 : <Berkeley DB error>
> Berkeley DB error while opening environment for filesystem
> file://localhost/usr/local/svnRepo/db:No such file or directory
If you run 'svnlook' or 'svnadmin' with no args, they print usage
messages that say to use a "REPOS_PATH". However, you're using a
repos URL. Forget the file:///, just specify a regular unix path.
Perhaps we need documentation. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org