svn-fe status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Nieder wrote:

> Tomorrow I would like to re-roll the fast-import experiment
> so the svn-fe that understands deltas can get more attention

but I did not get as far as I would like.  Interested parties can find
some very rough patches in the git repository at:
 git://repo.or.cz/git/jrn.git tp/svn-fe-wip

The top two patches are completely bogus.  No doubt some of the
earlier ones are, too, which is why I do not think they are ready for
review yet, except by extra curious people.

Now the features that would be most useful from fast-import become a
bit clearer.  Since a single svn revision can make multiple changes to
a file, the ability to read back the currently staged content for the
current revision would be helpful, like this:

  commit refs/remotes/origin/root
  mark :100
  committer localuser <localuser@xxxxxxxxxxxxxxxxxxx>
  data <<END_MESSAGE
  
  from refs/remotes/origin/root^0
  M 100644 :72:"trunk/README" "branches/topic/README"
  cat "branches/topic/README"
  M 100755 inline branches/topic/README
  data <<END_FILE
  ... output from delta application goes here ...
  END_FILE
  ... etc ...

In other words, it would be nice to be able to

 1. use ':<mark>:<path>' references to retrieve data from a
    previous revision
 2. use 'cat <path>' references to retrieve data from the
    current revision.

By using these two features, I think we could eliminate the repo_tree
module completely.

David's and Ram's discussions and patches from the last two weeks (or
at least the part I have understood) have been very helpful.

David Barr (3):
      svndiff: Give caller responsibility for initializing line_buffer
      vcs-svn: Reduce memory allocation churn in move_window
      vcs-svn: extend svndump to parse version 3 format

Jonathan Nieder (14):
      Makefile: declare vcs-svn test dependencies
      line_buffer: Allow character-oriented input
      line_buffer: Let caller peek ahead to find stream end
      line_buffer: Add binary-safe read() function
      vcs-svn: Add svn delta parser
      svndiff: Handle truncated data in deltas
      svndiff: Handle truncated source file
      svndiff: Cap length of delta read
      Teach fast-import to print the id of each imported commit
      fast-import: Let importers retrieve the objects being written
      fast-import: Allow cat command with empty path
      fast-import: Allow cat requests at arbitrary points in stream
      [WIP] svn-fe: Use the --report-fd feature
      wip

Ramkumar Ramachandra (1):
      Add a sample user for the svndiff library

 Documentation/git-fast-import.txt |   49 ++++
 Makefile                          |   10 +-
 contrib/svn-fe/.gitignore         |    1 +
 contrib/svn-fe/Makefile           |   30 ++-
 contrib/svn-fe/svn-da.c           |   26 ++
 contrib/svn-fe/svn-da.txt         |   24 ++
 contrib/svn-fe/svn-fe.txt         |    6 +-
 fast-import.c                     |  147 ++++++++++-
 t/t9010-svn-fe.sh                 |   37 +++-
 t/t9010/newdata.diff0             |  Bin 0 -> 19392 bytes
 t/t9010/newdata.done              |  522 +++++++++++++++++++++++++++++++++++++
 t/t9010/src.diff0                 |  Bin 0 -> 74 bytes
 t/t9010/src.done                  |  522 +++++++++++++++++++++++++++++++++++++
 t/t9300-fast-import.sh            |  210 +++++++++++++++
 test-svn-fe.c                     |   38 +++-
 vcs-svn/LICENSE                   |    2 +
 vcs-svn/fast_export.c             |  158 +++++++++++-
 vcs-svn/fast_export.h             |   11 +-
 vcs-svn/line_buffer.c             |   24 ++
 vcs-svn/line_buffer.h             |    3 +
 vcs-svn/repo_tree.c               |    9 +-
 vcs-svn/svndiff.c                 |  477 +++++++++++++++++++++++++++++++++
 vcs-svn/svndiff.h                 |   11 +
 vcs-svn/svndump.c                 |   69 +++++-
 24 files changed, 2340 insertions(+), 46 deletions(-)
 create mode 100644 contrib/svn-fe/svn-da.c
 create mode 100644 contrib/svn-fe/svn-da.txt
 create mode 100644 t/t9010/blank.done
 create mode 100644 t/t9010/newdata.diff0
 create mode 100644 t/t9010/newdata.done
 create mode 100644 t/t9010/src.diff0
 create mode 100644 t/t9010/src.done
 create mode 100644 vcs-svn/svndiff.c
 create mode 100644 vcs-svn/svndiff.h
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]