Alien-SVN

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

src/subversion/subversion/bindings/cxxhl/include/svncxxhl.hpp
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/_compat.hpp
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/exception.hpp
src/subversion/subversion/bindings/cxxhl/include/svncxxhl/tristate.hpp
src/subversion/subversion/bindings/cxxhl/README
src/subversion/subversion/bindings/cxxhl/src/exception.cpp
src/subversion/subversion/bindings/cxxhl/src/tristate.cpp
src/subversion/subversion/bindings/cxxhl/tests/test_exception.cpp
src/subversion/subversion/bindings/javahl/build/build.xml
src/subversion/subversion/bindings/javahl/doc/index.html
src/subversion/subversion/bindings/javahl/doc/status1.png
src/subversion/subversion/bindings/javahl/Manifest.in
src/subversion/subversion/bindings/javahl/native/Array.cpp
src/subversion/subversion/bindings/javahl/native/Array.h
src/subversion/subversion/bindings/javahl/native/BlameCallback.cpp
src/subversion/subversion/bindings/javahl/native/BlameCallback.h
src/subversion/subversion/bindings/javahl/native/ChangelistCallback.cpp
src/subversion/subversion/bindings/javahl/native/ChangelistCallback.h
src/subversion/subversion/bindings/javahl/native/ClientContext.cpp
src/subversion/subversion/bindings/javahl/native/ClientContext.h
src/subversion/subversion/bindings/javahl/native/CommitCallback.cpp

MANIFEST  view on Meta::CPAN

src/subversion/subversion/tests/cmdline/import_tests_data/import_tree/DIR5.moo/file5.txt
src/subversion/subversion/tests/cmdline/import_tests_data/import_tree/DIR6/DIR7/file7.foo
src/subversion/subversion/tests/cmdline/import_tests_data/import_tree/DIR6/file6.foo
src/subversion/subversion/tests/cmdline/info_tests.py
src/subversion/subversion/tests/cmdline/input_validation_tests.py
src/subversion/subversion/tests/cmdline/iprop_authz_tests.py
src/subversion/subversion/tests/cmdline/iprop_tests.py
src/subversion/subversion/tests/cmdline/legacy/utf8_tests.py
src/subversion/subversion/tests/cmdline/lock_tests.py
src/subversion/subversion/tests/cmdline/log_tests.py
src/subversion/subversion/tests/cmdline/log_tests_data/merge_history_repo.png
src/subversion/subversion/tests/cmdline/log_tests_data/xml-invalid-chars.dump
src/subversion/subversion/tests/cmdline/merge_authz_tests.py
src/subversion/subversion/tests/cmdline/merge_automatic_tests.py
src/subversion/subversion/tests/cmdline/merge_reintegrate_tests.py
src/subversion/subversion/tests/cmdline/merge_tests.py
src/subversion/subversion/tests/cmdline/merge_tree_conflict_tests.py
src/subversion/subversion/tests/cmdline/mergeinfo_tests.py
src/subversion/subversion/tests/cmdline/move_tests.py
src/subversion/subversion/tests/cmdline/patch_tests.py
src/subversion/subversion/tests/cmdline/prop_tests.py

src/subversion/doc/doxygen.conf  view on Meta::CPAN


# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
# is shown.

TREEVIEW_WIDTH         = 250

# Use this tag to change the font size of Latex formulas included
# as images in the HTML documentation. The default is 10. Note that
# when you change the font size after a successful doxygen run you need
# to manually remove any form_*.png images from the HTML output directory
# to force them to be regenerated.

FORMULA_FONTSIZE       = 10

# When the SEARCHENGINE tag is enable doxygen will generate a search box for the HTML output. The underlying search engine uses javascript
# and DHTML and should work on any modern browser. Note that when using HTML help (GENERATE_HTMLHELP) or Qt help (GENERATE_QHP)
# there is already a search function so this one should typically
# be disabled.

SEARCHENGINE           = YES

src/subversion/doc/doxygen.conf  view on Meta::CPAN

GRAPHICAL_HIERARCHY    = YES

# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
# then doxygen will show the dependencies a directory has on other directories
# in a graphical way. The dependency relations are determined by the #include
# relations between the files in the directories.

DIRECTORY_GRAPH        = YES

# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
# generated by dot. Possible values are png, jpg, or gif
# If left blank png will be used.

DOT_IMAGE_FORMAT       = png

# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.

DOT_PATH               =

# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# \dotfile command).

src/subversion/get-deps.sh  view on Meta::CPAN


    bzip2 -dc $TEMPDIR/$SERF.tar.bz2 | tar -xf -

    mv $SERF serf
}

get_zlib() {
    test -d $BASEDIR/zlib && return

    cd $TEMPDIR
    $HTTP_FETCH http://sourceforge.net/projects/libpng/files/zlib/$ZLIB_VERSION/$ZLIB.tar.gz
    cd $BASEDIR

    gzip -dc $TEMPDIR/$ZLIB.tar.gz | tar -xf -

    mv $ZLIB zlib
}

get_sqlite() {
    test -d $BASEDIR/sqlite-amalgamation && return

src/subversion/subversion/bindings/swig/python/tests/core.py  view on Meta::CPAN

    self.assertEqual(svn.core.SubversionException(None, 1).args, (None, 1))
    self.assertEqual(svn.core.SubversionException('error message', 1).args,
                     ('error message', 1))
    self.assertEqual(svn.core.SubversionException('error message', 1).apr_err,
                     1)
    self.assertEqual(svn.core.SubversionException('error message', 1).message,
                     'error message')

  def test_mime_type_is_binary(self):
    self.assertEqual(0, svn.core.svn_mime_type_is_binary("text/plain"))
    self.assertEqual(1, svn.core.svn_mime_type_is_binary("image/png"))

  def test_mime_type_validate(self):
    self.assertRaises(svn.core.SubversionException,
            svn.core.svn_mime_type_validate, "this\nis\ninvalid\n")
    svn.core.svn_mime_type_validate("unknown/but-valid; charset=utf8")

  def test_exception_interoperability(self):
    """Test if SubversionException is correctly converted into svn_error_t
    and vice versa."""
    t = utils.Temper()

src/subversion/subversion/bindings/swig/ruby/test/test_core.rb  view on Meta::CPAN

    setup_tmp
  end

  def teardown
    teardown_repository(@repos_path)
    teardown_config
    teardown_tmp
  end

  def test_binary_mime_type?
    assert(Svn::Core.binary_mime_type?("image/png"))
    assert(!Svn::Core.binary_mime_type?("text/plain"))
  end

  def test_time
    now = Time.now.gmtime
    str = now.strftime("%Y-%m-%dT%H:%M:%S.") + "#{now.usec}Z"

    if RUBY_VERSION > '1.9'
      # ruby 1.9 Time comparison gets into the nano-seconds, strftime
      # shaves these off. So we can compare epoch time instead

src/subversion/subversion/bindings/swig/ruby/test/test_core.rb  view on Meta::CPAN


    copied.rewind
    assert_equal(source, original.read)
    assert_equal("", copied.read)
  end

  def test_mime_type_parse
    type_map = {
      "html" => "text/html",
      "htm" => "text/html",
      "png" => "image/png",
    }
    mime_types_source = <<-EOM
text/html html htm
application/octet-stream

image/png png
EOM

    mime_types = Tempfile.new("svn-ruby-mime-type")
    mime_types.puts(mime_types_source)
    mime_types.close

    assert_equal(type_map, Svn::Core::MimeType.parse_file(mime_types.path))
    assert_equal(type_map, Svn::Core::MimeType.parse(mime_types_source))
  end

src/subversion/subversion/bindings/swig/ruby/test/test_core.rb  view on Meta::CPAN

    text_file = Tempfile.new("svn-ruby-mime-type")
    text_file.print("abcde")
    text_file.close
    assert_equal(nil, Svn::Core::MimeType.detect(text_file.path))
  end

  def test_mime_type_detect_with_type_map
    type_map = {
      "html" => "text/html",
      "htm" => "text/html",
      "png" => "image/png",
    }

    nonexistent_html_file = File.join(@tmp_path, "nonexistent.html")
    assert_raises(Svn::Error::BadFilename) do
      Svn::Core::MimeType.detect(nonexistent_html_file)
    end
    assert_equal("text/html",
                 Svn::Core::MimeType.detect(nonexistent_html_file, type_map))

    empty_html_file = File.join(@tmp_path, "empty.html")

src/subversion/subversion/bindings/swig/ruby/test/test_core.rb  view on Meta::CPAN

    assert_equal("text/html",
                 Svn::Core::MimeType.detect(empty_html_file, type_map))

    empty_htm_file = File.join(@tmp_path, "empty.htm")
    FileUtils.touch(empty_htm_file)
    assert_equal(nil, Svn::Core::MimeType.detect(empty_htm_file))
    assert_equal("text/html",
                 Svn::Core::MimeType.detect(empty_htm_file, type_map))


    dummy_png_file = File.join(@tmp_path, "dummy.png")
    File.open(dummy_png_file, "wb") do |png|
      png.print("\211PNG\r\n\032\n")
    end
    assert_equal(nil, Svn::Core::MimeType.detect(dummy_png_file))
    assert_equal("image/png",
                 Svn::Core::MimeType.detect(dummy_png_file, type_map))

    empty_png_file = File.join(@tmp_path, "empty.png")
    FileUtils.touch(empty_png_file)
    assert_equal(nil, Svn::Core::MimeType.detect(empty_png_file))
    assert_equal("image/png",
                 Svn::Core::MimeType.detect(empty_png_file, type_map))

    invalid_png_file = File.join(@tmp_path, "invalid.png")
    File.open(invalid_png_file, "w") do |png|
      png.puts("text")
    end
    assert_equal(nil, Svn::Core::MimeType.detect(invalid_png_file))
    assert_equal("image/png",
                 Svn::Core::MimeType.detect(invalid_png_file, type_map))
  end

  def test_prop_categorize
    name = "svn:mime-type"
    value = "text/plain"
    entry_name = "svn:entry:XXX"
    entry_value = "XXX"

    props = [Svn::Core::Prop.new(name, value),
             Svn::Core::Prop.new(entry_name, entry_value)]

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="744.09448819"
   height="1052.3622047"
   id="svg2"
   sodipodi:version="0.32"
   inkscape:version="0.45.1"
   sodipodi:docbase="/home/julianfoad/src/subversion-a/subversion/libsvn_fs_base/notes"
   sodipodi:docname="schema-bdb-1.6.svg"
   inkscape:output_extension="org.inkscape.output.svg.inkscape"
   inkscape:export-filename="/home/julianfoad/obliterate/schema-bdb-1.6.png"
   inkscape:export-xdpi="150"
   inkscape:export-ydpi="150">
  <defs
     id="defs4">
    <marker
       inkscape:stockid="Arrow1Mend"
       orient="auto"
       refY="0.0"
       refX="0.0"
       id="Arrow1Mend"

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         y="332.36218"
         ry="2.7755573e-15"
         rx="2.7755578e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="270.00003"
         y="327.36215"
         id="text8536"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8538"
           x="270.00003"
           y="327.36215"><tspan
             x="270.00003"
             y="327.36215"
             id="tspan8540"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">uuids</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect4588"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36206"
         id="text8518"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8520"
           x="290"
           y="327.36206"><tspan
             x="290"
             y="327.36206"
             id="tspan8522"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">locks</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect4640"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.19999999;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.24536"
         id="text8530"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8532"
           x="290"
           y="327.24536"><tspan
             x="290"
             y="327.24536"
             id="tspan8534"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">strings</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         y="332.27856"
         ry="2.775558e-15"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="287.35547"
         y="327.27823"
         id="text8524"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8526"
           x="287.35547"
           y="327.27823"><tspan
             x="287.35547"
             y="327.27823"
             id="tspan8528"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">representations</tspan></tspan><...

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         y="332.36218"
         ry="2.7755573e-15"
         rx="2.7755578e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linec...
         x="309.99997"
         y="327.36215"
         id="text8476"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8478"
           x="309.99997"
           y="327.36215"><tspan
             x="309.99997"
             y="327.36215"
             id="tspan8480"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">transactions</tspan></tspan></te...

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect4744"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36215"
         id="text8482"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8484"
           x="290"
           y="327.36215"><tspan
             x="290"
             y="327.36215"
             id="tspan8486"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">copies</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         y="332.36218"
         ry="2.7755578e-15"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36218"
         id="text8488"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8490"
           x="290"
           y="327.36218"><tspan
             x="290"
             y="327.36218"
             id="tspan8492"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">nodes</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         y="332.46237"
         ry="2.7755576e-15"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="299.89999"
         y="327.46219"
         id="text8470"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8472"
           x="299.89999"
           y="327.46219"><tspan
             x="299.89999"
             y="327.46219"
             id="tspan8474"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">changes</tspan></tspan></text>

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect8117"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.20000003;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36206"
         id="text8512"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8514"
           x="290"
           y="327.36206"><tspan
             x="290"
             y="327.36206"
             id="tspan8516"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">lock-tokens</tspan></tspan></tex...

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect8131"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.20000003;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755573e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="309.99997"
         y="327.36224"
         id="text8500"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8502"
           x="309.99997"
           y="327.36224"><tspan
             x="309.99997"
             y="327.36224"
             id="tspan8504"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">miscellaneous</tspan></tspan></t...

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect8145"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.20000002;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36224"
         id="text8506"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8508"
           x="290"
           y="327.36224"><tspan
             x="290"
             y="327.36224"
             id="tspan8510"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">checksum-reps</tspan></tspan></t...

src/subversion/subversion/libsvn_fs_base/notes/schema-bdb-1.6.svg  view on Meta::CPAN

         id="rect8159"
         style="fill:#c9c9f7;fill-opacity:0.87843137;stroke:#000000;stroke-width:0.20000003;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
         rx="2.7755576e-15" />
      <text
         xml:space="preserve"
         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans"
         x="290"
         y="327.36206"
         id="text8494"
         sodipodi:linespacing="125%"
         inkscape:export-filename="/home/julianfoad/obliterate/text8464.png"
         inkscape:export-xdpi="149.99603"
         inkscape:export-ydpi="149.99603"><tspan
           sodipodi:role="line"
           id="tspan8496"
           x="290"
           y="327.36206"><tspan
             x="290"
             y="327.36206"
             id="tspan8498"
             style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;writing-mode:lr-tb;text-anchor:middle;font-family:Bitstream Vera Sans">node-origins</tspan></tspan></te...

src/subversion/subversion/libsvn_subr/config_file.c  view on Meta::CPAN

        "### applied to the file.  Note that auto-props functionality"       NL
        "### must be enabled, which is typically done by setting the"        NL
        "### 'enable-auto-props' option."                                    NL
        "# *.c = svn:eol-style=native"                                       NL
        "# *.cpp = svn:eol-style=native"                                     NL
        "# *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native"   NL
        "# *.dsp = svn:eol-style=CRLF"                                       NL
        "# *.dsw = svn:eol-style=CRLF"                                       NL
        "# *.sh = svn:eol-style=native;svn:executable"                       NL
        "# *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;"NL
        "# *.png = svn:mime-type=image/png"                                  NL
        "# *.jpg = svn:mime-type=image/jpeg"                                 NL
        "# Makefile = svn:eol-style=native"                                  NL
        ""                                                                   NL
        "### Section for configuring working copies."                        NL
        "[working-copy]"                                                     NL
        "### Set to a list of the names of specific clients that should use" NL
        "### exclusive SQLite locking of working copies.  This increases the"NL
        "### performance of the client but prevents concurrent access by"    NL
        "### other clients.  Third-party clients may also support this"      NL
        "### option."                                                        NL

src/subversion/subversion/tests/cmdline/log_tests.py  view on Meta::CPAN


  # props exist on A/B and A/mu
  expected_status.tweak('A/B', 'A/mu', status='  ')

  # Run 'svn st -uv' and compare the actual results with our tree.
  svntest.actions.run_and_verify_status(wc_path, expected_status)


def merge_history_repos(sbox):
  """Make a repos with varied and interesting merge history, similar
  to the repos found at: log_tests_data/merge_history_repo.png"""

  upsilon_path = os.path.join('A', 'upsilon')
  omicron_path = os.path.join('blocked', 'omicron')
  branch_a = os.path.join('branches', 'a')
  branch_b = os.path.join('branches', 'b')
  branch_c = os.path.join('branches', 'c')

  # Create an empty repository - r0
  svntest.main.safe_rmtree(sbox.repo_dir, 1)
  svntest.main.safe_rmtree(sbox.wc_dir, 1)

src/subversion/subversion/tests/cmdline/prop_tests.py  view on Meta::CPAN

                                     svntest.verify.AnyOutput, 'propset',
                                     'svn:eol-style', 'native', A_path)

  svntest.actions.run_and_verify_svn('Invalid svn:eol-style', None,
                                     svntest.verify.AnyOutput, 'propset',
                                     'svn:eol-style', 'invalid value',
                                     os.path.join(A_path, 'mu'))

  svntest.actions.run_and_verify_svn('Illegal target', None,
                                     svntest.verify.AnyOutput, 'propset',
                                     'svn:mime-type', 'image/png', A_path)

  svntest.actions.run_and_verify_svn('Illegal target', None,
                                     svntest.verify.AnyOutput, 'propset',
                                     'svn:ignore', '*.o', iota_path)

  svntest.actions.run_and_verify_svn('Illegal target', None,
                                     svntest.verify.AnyOutput, 'propset',
                                     'svn:externals',
                                     'foo http://host.com/repos', iota_path)

src/subversion/subversion/tests/cmdline/update_tests.py  view on Meta::CPAN

    raise svntest.Failure

#----------------------------------------------------------------------

def update_binary_file_2(sbox):
  "update to an old revision of a binary files"

  sbox.build()
  wc_dir = sbox.wc_dir

  # Suck up contents of a test .png file.
  theta_contents = open(os.path.join(sys.path[0], "theta.bin"), 'rb').read()

  # 102400 is svn_txdelta_window_size.  We're going to make sure we
  # have at least 102401 bytes of data in our second binary file (for
  # no reason other than we have had problems in the past with getting
  # svndiff data out of the repository for files > 102400 bytes).
  # How?  Well, we'll just keep doubling the binary contents of the
  # original theta.png until we're big enough.
  zeta_contents = theta_contents
  while(len(zeta_contents) < 102401):
    zeta_contents = zeta_contents + zeta_contents

  # Write our two files' contents out to disk, in A/theta and A/zeta.
  theta_path = sbox.ospath('A/theta')
  svntest.main.file_write(theta_path, theta_contents, 'wb')
  zeta_path = sbox.ospath('A/zeta')
  svntest.main.file_write(zeta_path, zeta_contents, 'wb')

src/subversion/subversion/tests/cmdline/update_tests.py  view on Meta::CPAN


#----------------------------------------------------------------------

@Issue(4128)
def update_binary_file_3(sbox):
  "update locally modified file to equal versions"

  sbox.build()
  wc_dir = sbox.wc_dir

  # Suck up contents of a test .png file.
  theta_contents = open(os.path.join(sys.path[0], "theta.bin"), 'rb').read()

  # Write our files contents out to disk, in A/theta.
  theta_path = sbox.ospath('A/theta')
  svntest.main.file_write(theta_path, theta_contents, 'wb')

  # Now, `svn add' that file.
  svntest.main.run_svn(None, 'add', theta_path)

  # Created expected output tree for 'svn ci'

src/subversion/tools/client-side/bash_completion  view on Meta::CPAN

		svn:executable|svn:needs-lock)
		    # hmmm... canonical value * is special to the shell.
		    values='\\*'
		    ;;
		svn:eol-style)
		    values='native LF CR CRLF'
		    ;;
		svn:mime-type)
		    # could read /etc/mime.types if available. overkill.
		    values="text/ text/plain text/html text/xml text/rtf
                       image/ image/png image/gif image/jpeg image/tiff
                       audio/ audio/midi audio/mpeg
                       video/ video/mpeg video/mp4
                       application/ application/octet-stream
                       $SVN_BASH_MIME_TYPE"
		    ;;
	    esac

	    COMPREPLY=( $( compgen -W "$values" -- $cur ) )
	    # special case for --file... return even if within an option
	    [[ ${COMPREPLY} ]] && return 0

src/subversion/tools/dev/graph-dav-servers.py  view on Meta::CPAN

import fileinput
import datetime
import time
import datetime
from matplotlib import dates
import matplotlib
matplotlib.use('Agg')
from matplotlib import pylab
import Image

OUTPUT_FILE = '../../www/images/svn-dav-securityspace-survey.png'
OUTPUT_IMAGE_WIDTH = 800

STATS = [
  ('1/1/2003', 70),
  ('2/1/2003', 158),
  ('3/1/2003', 222),
  ('4/1/2003', 250),
  ('5/1/2003', 308),
  ('6/1/2003', 369),
  ('7/1/2003', 448),

src/subversion/tools/dev/graph-dav-servers.py  view on Meta::CPAN


  ax.yaxis.set_major_formatter( pylab.FormatStrFormatter('%d') )

  pylab.ylabel('Total # of Public DAV Servers')

  lastdate = datetime.datetime.fromordinal(dates[len(dates) - 1]).strftime("%B %Y")
  pylab.xlabel("Data as of " + lastdate)
  pylab.title('Security Space Survey of\nPublic Subversion DAV Servers')
  # End drawing
  ###########################################################
  png = open(OUTPUT_FILE, 'w')
  pylab.savefig(png)
  png.close()
  os.rename(OUTPUT_FILE, OUTPUT_FILE + ".tmp.png")
  try:
    im = Image.open(OUTPUT_FILE + ".tmp.png", 'r')
    (width, height) = im.size
    print("Original size: %d x %d pixels" % (width, height))
    scale = float(OUTPUT_IMAGE_WIDTH) / float(width)
    width = OUTPUT_IMAGE_WIDTH
    height = int(float(height) * scale)
    print("Final size: %d x %d pixels" % (width, height))
    im = im.resize((width, height), Image.ANTIALIAS)
    im.save(OUTPUT_FILE, im.format)
    os.unlink(OUTPUT_FILE + ".tmp.png")
  except Exception, e:
    sys.stderr.write("Error attempting to resize the graphic: %s\n" % (str(e)))
    os.rename(OUTPUT_FILE + ".tmp.png", OUTPUT_FILE)
    raise
  pylab.close()


if __name__ == '__main__':
  dates, counts = load_stats()
  draw_graph(dates, counts)
  print("Don't forget to update ../../www/svn-dav-securityspace-survey.html!")

src/subversion/tools/dev/merge-graph.py  view on Meta::CPAN

#      http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing,
#    software distributed under the License is distributed on an
#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#    KIND, either express or implied.  See the License for the
#    specific language governing permissions and limitations
#    under the License.
# ====================================================================

args_message = '[-f png|svg|gif|dia... [-f ...]] GRAPH_CONFIG_FILE...'
help_message = """Produce pretty graphs representing branches and merging.
For each config file specified, construct a graph and write it as a PNG file
(or other graphical file formats)."""

import sys
import getopt
from mergegraph import MergeDot


# If run as a program, process each input filename as a graph config file.

src/subversion/tools/dev/merge-graph.py  view on Meta::CPAN

    print >> sys.stderr, usage
    sys.exit(1)

  formats = []

  for opt, opt_arg in optlist:
    if opt == '-f':
      formats.append(opt_arg)

  if not formats:
    formats.append('png')

  for config_filename in args:
    print "%s: reading '%s'," % (prog_name, config_filename),
    graph = MergeDot(config_filename, rankdir='LR', dpi='72')
    for format in formats:
      filename = '%s.%s' % (graph.basename, format)
      print "writing '%s'" % filename,
      graph.save(format=format, filename=filename)
    print

src/subversion/tools/dev/mergegraph/mergegraph.py  view on Meta::CPAN

#    software distributed under the License is distributed on an
#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#    KIND, either express or implied.  See the License for the
#    specific language governing permissions and limitations
#    under the License.
# ====================================================================

# Config file format:
example = """
  [graph]
  filename = merge-sync-1.png
  title = Sync Merge: CC vs SVN
  # Branches: (branch name, branched from node, first rev, last rev).
  branches = [
    ('A', 'O0', 1, 4),
    ('O', None, 0, 0),
    ('B', 'O0', 1, 5)
    ]
  # Changes: nodes in which a change was committed; merge targets need not
  # be listed here.
  changes = [

src/subversion/tools/dev/mergegraph/mergegraph.py  view on Meta::CPAN

      graph.add_subgraph(sub_g)

    # Annotations
    for node, label in graph.annotations:
      graph.add_annotation(node, label)

    # A title for the graph (added last so it goes at the top)
    if graph.title:
      graph.add_node(Node('title', shape='plaintext', label='"' + graph.title + '"'))

  def save(graph, format='png', filename=None):
    """Save this merge graph to the given file format. If filename is None,
       construct a filename from the basename of the original file (as passed
       to the constructor and then stored in graph.basename) and the suffix
       according to the given format.
    """
    if not filename:
      filename = graph.basename + '.' + format
    if format == 'sh':
      import save_as_sh
      save_as_sh.write_sh_file(graph, filename)

src/subversion/tools/dev/wc-ng/graph-data.py  view on Meta::CPAN

  l.append(ln)

plt.figlegend(l, data[0], 'lower left')
plt.fill_between(x, 0, y[0][1:], facecolor=l[0].color)
#for i in range(0, len(y)-1):
#  plt.fill_between(x, y[i][1:], y[i+1][1:])
plt.xlabel('Revision')
plt.ylabel('Symbol Count')
plt.show()

png = open('chart2.png', 'w')
plt.savefig(png)



( run in 2.779 seconds using v1.01-cache-2.11-cpan-df04353d9ac )