This project is mirrored from Updated .
  1. 26 Nov, 2013 1 commit
  2. 25 Dec, 2012 1 commit
  3. 28 Oct, 2012 1 commit
    • Torsten Bögershausen's avatar
      Fix t9200 on case insensitive file systems · e342acc6
      Torsten Bögershausen authored
      t9200 defines $CVSROOT where cvs should init its repository
      $CVSROOT is set to $PWD/cvsroot.
      cvs init is supposed to create the repository inside $PWD/cvsroot/CVSROOT
      "cvs init" (e.g. version  1.11.23) checks if the last element of the path is
      "CVSROOT", and if a directory with e.g. $PWD/cvsroot/CVSROOT already exists.
      For such a $CVSROOT cvs refuses to init a repository here:
      "Cannot initialize repository under existing CVSROOT:
      On a case insenstive file system cvsroot and CVSROOT are the same directories
      and t9200 fails.
      Solution: use $PWD/tmpcvsroot instead of cvsroot $PWD/cvsroot
      Signed-off-by: default avatarTorsten Bögershausen <[email protected]>
      Signed-off-by: default avatarJeff King <[email protected]>
  4. 13 Feb, 2012 1 commit
  5. 12 Jan, 2012 1 commit
  6. 19 Jul, 2011 1 commit
  7. 18 Aug, 2010 1 commit
  8. 25 Jun, 2010 1 commit
  9. 31 May, 2010 1 commit
  10. 18 Jul, 2009 1 commit
  11. 29 May, 2009 1 commit
    • Nick Woolley's avatar
      git-cvsexportcommit can't commit files which have been removed from CVS · 54d5cc0e
      Nick Woolley authored
      If a file X is removed from CVS, it goes into the Attic directory, and CVS
      reports it as 'no file X' but with status 'Up-to-date'.  cvsexportcommit
      misinterprets this as an existing file and tries to commit a file with the
      same name.  Correctly identify these files, so that new files with the
      same name can be committed.
      Add a test to, which tests that we can
      re-commit a removed filename which remains in CVS's attic. This adds a
      file 'attic_gremlin' in CVS, then "removes" it, then tries to commit a
      file with the same name from git.
      Signed-off-by: default avatarNick Woolley <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  12. 09 Apr, 2009 1 commit
  13. 05 Apr, 2009 1 commit
  14. 22 Mar, 2009 1 commit
  15. 19 Mar, 2009 1 commit
  16. 10 Sep, 2008 1 commit
  17. 17 Aug, 2008 1 commit
    • Junio C Hamano's avatar
      tests: use $TEST_DIRECTORY to refer to the t/ directory · bfdbee98
      Junio C Hamano authored
      Many test scripts assumed that they will start in a 'trash' subdirectory
      that is a single level down from the t/ directory, and referred to their
      test vector files by asking for files like "../t9999/expect".  This will
      break if we move the 'trash' subdirectory elsewhere.
      To solve this, we earlier introduced "$TEST_DIRECTORY" so that they can
      refer to t/ directory reliably.  This finally makes all the tests use
      it to refer to the outside environment.
      With this patch, and a one-liner not included here (because it would
      contradict with what Dscho really wants to do):
      | diff --git a/t/ b/t/
      | index 70ea7e0..60e69e4 100644
      | --- a/t/
      | +++ b/t/
      | @@ -485,7 +485,7 @@ fi
      |  . ../GIT-BUILD-OPTIONS
      |  # Test repository
      | -test="trash directory"
      | +test="trash directory/another level/yet another"
      |  rm -fr "$test" || {
      |         trap - exit
      |         echo >&5 "FATAL: Cannot prepare test area"
      all the tests still pass, but we would want extra sets of eyeballs on this
      type of change to really make sure.
      [jc: with help from Stephan Beyer on http-push tests I do not run myself;
       credits for locating silly quoting errors go to Olivier Marin.]
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  18. 13 Jul, 2008 1 commit
  19. 15 May, 2008 1 commit
    • Johannes Schindelin's avatar
      cvsexportcommit: introduce -W for shared working trees (between Git and CVS) · d775734c
      Johannes Schindelin authored
      If you have a CVS checkout, it is easy to import the CVS history by
      calling "git cvsimport".  However, interacting with the CVS repository
      using "git cvsexportcommit" was cumbersome, since that script assumes
      separate working directories for Git and CVS.
      Now, you can call cvsexportcommit with the -W option.  This will
      automatically discover the GIT_DIR, and it will check out the parent
      commit before exporting the commit.
      The intended workflow is this:
      $ CVSROOT=$URL cvs co module
      $ cd module
      $ git cvsimport
      hack, hack, hack, making two commits, cleaning them up using rebase -i.
      $ git cvsexportcommit -W -c -p -u HEAD^
      $ git cvsexportcommit -W -c -p -u HEAD
      Signed-off-by: Johannes Schindelin's avatarJohannes Schindelin <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  20. 13 Mar, 2008 1 commit
    • Jeff King's avatar
      add test_cmp function for test scripts · 82ebb0b6
      Jeff King authored
      Many scripts compare actual and expected output using
      "diff -u". This is nicer than "cmp" because the output shows
      how the two differ. However, not all versions of diff
      understand -u, leading to unnecessary test failure.
      This adds a test_cmp function to the test scripts and
      switches all "diff -u" invocations to use it. The function
      uses the contents of "$GIT_TEST_CMP" to compare its
      arguments; the default is "diff -u".
      On systems with a less-capable diff, you can do:
        GIT_TEST_CMP=cmp make test
      Signed-off-by: default avatarJeff King <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  21. 27 Feb, 2008 2 commits
  22. 20 Feb, 2008 1 commit
    • Johannes Schindelin's avatar
      cvsexportcommit: be graceful when "cvs status" reorders the arguments · fef3a7cc
      Johannes Schindelin authored
      In my use cases, "cvs status" sometimes reordered the passed filenames,
      which often led to a misdetection of a dirty state (when it was in
      reality a clean state).
      I finally tracked it down to two filenames having the same basename.
      So no longer trust the order of the results blindly, but actually check
      the file name.
      Since "cvs status" only returns the basename (and the complete path on the
      server which is useless for our purposes), run "cvs status" several times
      with lists consisting of files with unique (chomped) basenames.
      Be a bit clever about new files: these are reported as "no file <blabla>",
      so in order to discern it from existing files, prepend "no file " to the
      In other words, one call to "cvs status" will not ask for two files
      "blabla" (which does not yet exist) and "no file blabla" (which exists).
      This patch makes cvsexportcommit slightly slower, when the list of changed
      files has non-unique basenames, but at least it is accurate now.
      Signed-off-by: Johannes Schindelin's avatarJohannes Schindelin <[email protected]>
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  23. 13 Feb, 2008 2 commits
  24. 18 Jan, 2008 1 commit
  25. 25 Jul, 2007 1 commit
  26. 05 Feb, 2007 1 commit
    • Junio C Hamano's avatar
      t9200: Work around HFS+ issues. · 133f0810
      Junio C Hamano authored
      We at least know that the test as written has a problem in an
      environment where "touch '$p'; ls | fgrep '$p'" fails, and have
      a clear understand why it fails.
      This tests if the filesystem has that particular issue we know "git
      add" has a problem with, and skips the test in such an environment.
      This way, we might catch issues "git add" might have in other environments.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
  27. 31 Jan, 2007 2 commits
  28. 16 Jan, 2007 1 commit
  29. 28 Dec, 2006 1 commit
  30. 11 Dec, 2006 1 commit
  31. 04 Dec, 2006 1 commit
  32. 13 Nov, 2006 1 commit