Opened 16 years ago
Closed 16 years ago
#281 closed defect (fixed)
exit gracefully when ROOT is not a working copy
Reported by: | Peter Johansson | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | svndigest 0.6.5 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description
I get the following error message.
$ svndigest -v Done parsing parameters Initializing SVN singleton. svndigest: '/home/peter' is not a working copy svndigest: Can't open file '/home/peter/.svn/entries': No such file or directory *** glibc detected *** svndigest: double free or corruption (!prev): 0x09a8b9c8 ***
Change History (3)
comment:1 Changed 16 years ago by
Milestone: | 0.7 → 0.6.5 |
---|---|
Type: | enhancement → defect |
comment:2 Changed 16 years ago by
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [572]) Fixed double deletion by removing call to
apr_allocator_destroy(allocator_);
.Having both
apr_allocator_destroy
orsvn_pool_destroy
caused double deletion. Removing one of them solved the issue. I could not find any call toapr_allocator_destroy
in subversion::main, so I hope the remove does not cause a memory leak.Currently if the --root is not a wc, the output is
I would prefer to
or at least remove the empty line and embrace last path with (giving 'path').
Therefore I leave this ticket open.