1. 07 4月, 2007 2 次提交
  2. 08 2月, 2007 1 次提交
  3. 23 1月, 2007 1 次提交
  4. 13 1月, 2007 1 次提交
  5. 08 1月, 2007 3 次提交
  6. 28 11月, 2006 1 次提交
    • J
      cvsimport: style fixup. · 86d11cf2
      Junio C Hamano 提交于
      This should not change any functionality, but just makes it readable by
      having a space between syntactic construct keyword and open parenthesis
      (e.g. "if (expr", not "if(expr") and between close parenthesis and open
      brace (e.g. "if (expr) {" not "if (expr){").
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      86d11cf2
  7. 24 11月, 2006 1 次提交
    • I
      git-cvsimport: add support for CVS pserver method HTTP/1.x proxying · 73bcf533
      Iñaki Arenaza 提交于
      This patch adds support for 'proxy' and 'proxyport' connection options
      when using the pserver method for the CVS Root.
      
      It has been tested with a Squid 2.5.x proxy server.
      
      Quoting from the CVS info manual:
      
           The `gserver' and `pserver' connection methods all accept optional
        method options, specified as part of the METHOD string, like so:
      
             :METHOD[;OPTION=ARG...]:
      
           Currently, the only two valid connection options are `proxy', which
        takes a hostname as an argument, and `proxyport', which takes a port
        number as an argument.  These options can be used to connect via an HTTP
        tunnel style web proxy.  For example, to connect pserver via a web proxy
        at www.myproxy.net and port 8000, you would use a method of:
      
             :pserver;proxy=www.myproxy.net;proxyport=8000:
      
           *NOTE: The rest of the connection string is required to connect to
        the server as noted in the upcoming sections on password authentication,
        gserver and kserver.  The example above would only modify the METHOD
        portion of the repository name.*
      
           PROXY must be supplied to connect to a CVS server via a proxy
        server, but PROXYPORT will default to port 8080 if not supplied.
        PROXYPORT may also be set via the CVS_PROXY_PORT environment variable.
      Signed-off-by: NIñaki Arenaza <iarenuno@eteo.mondragon.edu>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      73bcf533
  8. 16 11月, 2006 1 次提交
    • J
      Run "git repack -a -d" once more at end, if there's 1MB or more of not-packed data. · efe4abd1
      Jim Meyering 提交于
      Although I converted upstream coreutils to git last month, I just
      reconverted coreutils once again, as a test, and ended up with a
      git repository of about 130MB (contrast with my packed git repo of
      size 52MB).  That was because there were a lot of commits (but < 1024)
      after the final automatic "git-repack -a -d".
      
      Running a final
        git-repack -a -d && git-prune-packed
      cut the final repository size down to the expected size.
      
      So this looks like an easy way to improve git-cvsimport.
      Just run "git repack ..." at the end if there's more than
      some reasonable amount of not-packed data.
      
      My choice of 1MB is a little arbitrarily.  I wouldn't mind missing
      the minimal repo size by 1MB.  At the other end of the spectrum,
      it's probably not worthwhile to pack everything when the total
      repository size is less than 1MB.
      
      Here's the patch:
      Signed-off-by: NJim Meyering <jim@meyering.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      efe4abd1
  9. 21 9月, 2006 1 次提交
    • A
      cvsimport: move over to using git-for-each-ref to read refs. · 1f24c587
      Andy Whitcroft 提交于
      cvsimport opens all of the files in $GIT_DIR/refs/heads and reads
      out the sha1's in order to work out what time the last commit on
      that branch was made (in CVS) thus allowing incremental updates.
      However, this takes no account of hierachical refs naming producing
      the following error for each directory in $GIT_DIR/refs:
      
        Use of uninitialized value in chomp at /usr/bin/git-cvsimport line 503.
        Use of uninitialized value in concatenation (.) or string at
      					/usr/bin/git-cvsimport line 505.
        usage: git-cat-file [-t|-s|-e|-p|<type>] <sha1>
      
      Take advantage of the new packed refs work to use the new
      for-each-ref iterator to get this information.
      Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      1f24c587
  10. 28 6月, 2006 1 次提交
  11. 25 6月, 2006 1 次提交
  12. 24 6月, 2006 1 次提交
  13. 17 6月, 2006 3 次提交
  14. 25 5月, 2006 1 次提交
  15. 24 5月, 2006 2 次提交
  16. 23 5月, 2006 7 次提交
  17. 18 5月, 2006 1 次提交
  18. 05 4月, 2006 1 次提交
  19. 18 3月, 2006 2 次提交
    • J
      cvsimport: fix reading from rev-parse · cb9594e2
      Junio C Hamano 提交于
      The updated code reads the tip of the current branch before and
      after the import runs, but forgot to chomp what we read from the
      command.  The read-tree command did not them with the trailing
      LF.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      cb9594e2
    • J
      cvsimport: honor -i and non -i upon subsequent imports · 8a5f2eac
      Junio C Hamano 提交于
      Documentation says -i is "import only", so without it,
      subsequent import should update the current branch and working
      tree files in a sensible way.
      
      "A sensible way" defined by this commit is "act as if it is a
      git pull from foreign repository which happens to be CVS not
      git".  So:
      
       - If importing into the current branch (note that cvsimport
         requires the tracking branch is pristine -- you checked out
         the tracking branch but it is your responsibility not to make
         your own commits there), fast forward the branch head and
         match the index and working tree using two-way merge, just
         like "git pull" does.
      
       - If importing into a separate tracking branch, update that
         branch head, and merge it into your current branch, again,
         just like "git pull" does.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      8a5f2eac
  20. 08 3月, 2006 1 次提交
  21. 21 2月, 2006 1 次提交
  22. 19 2月, 2006 1 次提交
    • M
      Fix retries in git-cvsimport · 39ba7d54
      Martin Mares 提交于
      Fixed a couple of bugs in recovering from broken connections:
      
      The _line() method now returns undef correctly when the connection
      is broken instead of falling off the function and returning garbage.
      
      Retries are now reported to stderr and the eventual partially
      downloaded file is discarded instead of being appended to.
      
      The "Server gone away" test has been removed, because it was
      reachable only if the garbage return bug bit.
      Signed-off-by: NMartin Mares <mj@ucw.cz>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      39ba7d54
  23. 30 1月, 2006 1 次提交
  24. 16 1月, 2006 2 次提交
    • J
      cvsimport: ease migration from CVSROOT/users format · 8cd16211
      Junio C Hamano 提交于
      This fixes a minor bug, which caused the author email to be
      doubly enclosed in a <> pair (the code gave enclosing <> to
      GIT_AUTHOR_EMAIL and GIT_COMMITTER_EMAIL environment variable).
      
      The read_author_info() subroutine is taught to also understand
      the user list in CVSROOT/users format.  This is primarily done
      to ease migration for CVS users, who can use the -A option
      to read from existing CVSROOT/users file.  write_author_info()
      always writes in the git-cvsimport's native format ('='
      delimited and value without quotes).
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      8cd16211
    • A
      git-cvsimport: Add -A <author-conv-file> option · ffd97f3a
      Andreas Ericsson 提交于
      This patch adds the option to specify an author name/email conversion
      file in the format
      
      	exon=Andreas Ericsson <ae@op5.se>
      	spawn=Simon Pawn <spawn@frog-pond.org>
      
      which will translate the ugly cvs authornames to the more informative
      git style.
      
      The info is saved in $GIT_DIR/cvs-authors, so that subsequent
      incremental imports will use the same author-info even if no -A
      option is specified. If an -A option *is* specified, the info in
      $GIT_DIR/cvs-authors is appended/updated appropriately.
      
      Docs updated accordingly.
      Signed-off-by: NAndreas Ericsson <ae@op5.se>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ffd97f3a
  25. 07 1月, 2006 1 次提交
  26. 25 11月, 2005 1 次提交