Re: [PATCH v5 15/16] remote-svn: add marks-file regeneration

2012-08-21 Thread Junio C Hamano
Florian Achleitner writes: > On Monday 20 August 2012 16:20:27 Junio C Hamano wrote: >> Junio C Hamano writes: >> > I think you meant something like: >> > >> > init_notes(NULL, notes_ref, NULL, 0); >> > >> > marksfile = fopen(marksfilename, "r"); >> > if (!marksfile) { >>

Re: [PATCH v5 15/16] remote-svn: add marks-file regeneration

2012-08-21 Thread Florian Achleitner
On Monday 20 August 2012 16:20:27 Junio C Hamano wrote: > Junio C Hamano writes: > > I think you meant something like: > > > > init_notes(NULL, notes_ref, NULL, 0); > > > > marksfile = fopen(marksfilename, "r"); > > if (!marksfile) { > > regenerate_marks(marksf

Re: [PATCH v5 15/16] remote-svn: add marks-file regeneration

2012-08-21 Thread Florian Achleitner
On Monday 20 August 2012 16:20:27 Junio C Hamano wrote: > Junio C Hamano writes: > > I think you meant something like: > > init_notes(NULL, notes_ref, NULL, 0); > > > > marksfile = fopen(marksfilename, "r"); > > if (!marksfile) { > > > > regenerate_mar

Re: [PATCH v5 15/16] remote-svn: add marks-file regeneration

2012-08-20 Thread Junio C Hamano
Junio C Hamano writes: > I think you meant something like: > > init_notes(NULL, notes_ref, NULL, 0); > marksfile = fopen(marksfilename, "r"); > if (!marksfile) { > regenerate_marks(marksfilename); > marksfile = fopen(marksfilename, "r"); >

Re: [PATCH v5 15/16] remote-svn: add marks-file regeneration

2012-08-20 Thread Junio C Hamano
Florian Achleitner writes: > fast-import mark files are stored outside the object database and are > therefore not fetched and can be lost somehow else. marks provide a > svn revision --> git sha1 mapping, while the notes that are attached > to each commit when it is imported provide a git sha1