threads / discuss / 18390

git svn unhandled.log compression

Subject: git svn unhandled.log compression

## tl;dr

4 messages between Mar 18, 2009 and Mar 19, 2009.

replies: 3people: 3as markdown or json

Tim Blechmann· Mar 18, 2009, 23:30 UTC · lore
hi all,

is there a way to compress the unhandled.log files, generated by git svn? tracking several projects with git svn, the unhandled.log files are larger, than the actual data ...

e.g. the mirror of the svn repository of the boost library gives me: 135M .git/objects 283M .git/svn

the unhandled.log files can be compressed at pretty high rates, these are the differently compressed files from the trunk of boost svn: 9.0M unhandled.log 584K unhandled.log.gz 396K unhandled.log.bz2 344K unhandled.log.lzma

i am not familiar with the git svn codebase, so i am not sure, whether it is feasible to implement a compression of the unhandled.log files, but it would definitely save me quite a lot of hd space ...

thnx, tim
-- 
tim@klingt.org
http://tim.klingt.org

The most wonderful opportunity which life offers is to be human.
  Henry Miller
Sverre Rabbelier· Mar 19, 2009, 11:06 UTC · re: Tim Blechmann · lore

Re: git svn unhandled.log compression

Heya
[full message quoted as now ccing Eric]
On Thu, Mar 19, 2009 at 00:30, Tim Blechmann <tim@klingt.org> wrote:
Show 18 quoted lines
> is there a way to compress the unhandled.log files, generated by git svn?
> tracking several projects with git svn, the unhandled.log files are
> larger, than the actual data ...
>
> e.g. the mirror of the svn repository of the boost library gives me:
> 135M    .git/objects
> 283M    .git/svn
>
> the unhandled.log files can be compressed at pretty high rates, these
> are the differently compressed files from the trunk of boost svn:
> 9.0M    unhandled.log
> 584K    unhandled.log.gz
> 396K    unhandled.log.bz2
> 344K    unhandled.log.lzma
>
> i am not familiar with the git svn codebase, so i am not sure, whether
> it is feasible to implement a compression of the unhandled.log files,
> but it would definitely save me quite a lot of hd space ...

On that note, Eric, what does the unhandled.log file do in the first place? It's name would suggest it lists all revisions that aren't handled yet, but the contents of the file seem to only grow over time, what gives?

-- 
Cheers,

Sverre Rabbelier
Tim Blechmann· Mar 19, 2009, 12:18 UTC · re: Sverre Rabbelier · lore

Re: git svn unhandled.log compression

Show 8 quoted lines
>> i am not familiar with the git svn codebase, so i am not sure, whether
>> it is feasible to implement a compression of the unhandled.log files,
>> but it would definitely save me quite a lot of hd space ...
> 
> On that note, Eric, what does the unhandled.log file do in the first
> place? It's name would suggest it lists all revisions that aren't
> handled yet, but the contents of the file seem to only grow over time,
> what gives?
according to the man page, it logs unhandled svn properties
tim
-- 
tim@klingt.org
http://tim.klingt.org

art is short - life is long
  Jack Kerouac
Eric Wong· Mar 19, 2009, 17:55 UTC · re: Tim Blechmann · lore

Re: git svn unhandled.log compression

Tim Blechmann <tim@klingt.org> wrote:
Show 10 quoted lines
> >> i am not familiar with the git svn codebase, so i am not sure, whether
> >> it is feasible to implement a compression of the unhandled.log files,
> >> but it would definitely save me quite a lot of hd space ...
> > 
> > On that note, Eric, what does the unhandled.log file do in the first
> > place? It's name would suggest it lists all revisions that aren't
> > handled yet, but the contents of the file seem to only grow over time,
> > what gives?
> 
> according to the man page, it logs unhandled svn properties

Yup, it logs things that git-svn currently cannot handle. It's meant to be machine parseable so other tools[1] can process them after-the-fact. I would accept a patch for a command like "git svn gc" to deal with compressing them.

[1] - as far as I know there are none
-- 
Eric Wong

← back to recent threads