[Bug 1221459] Review Request: hgsubversion - Mercurial extension for Subversion

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1221459



--- Comment #5 from Marcin Haba <marcin.haba@xxxxxxxxx> ---
Hello,

@Dave:

I noticed that the SWIG bindings bug is already fixed, so I have started review
feature request hgsubversion package.

The result RPM package builds successfully without errors or tracebacks. That
is nice.

Also all unit tests cases finished well:

Ran 362 tests in 782.711s
OK

Installation went perfect either by:

dnf install ./hgsubversion-1.8.1-1.fc21.noarch.rpm

For know the hgsubversion usage I read begining of the documentation from here:

/home/gani/1221459-hgsubversion/rpms-unpacked/hgsubversion-1.8.1-1.fc21.noarch.rpm/usr/share/doc/hgsubversion/hgsubversion.html

that says:

"
 To create a new Mercurial clone, you can use a command such as the following:

 $ hg clone <repository URI> [destination]

   Or with a real example:

 $ hg clone http://python-nose.googlecode.com/svn nose-hg
"

For test I used a random selected SVN repository from fedorahosted:

$ hg clone http://svn.fedorahosted.org/svn/xmlto/ xmlto-hg
abort: 'http://svn.fedorahosted.org/svn/xmlto/' does not appear to be an hg
repository:
---%<--- (text/html; charset=UTF-8)
<html><head><title>xmlto - Revision 82: /</title></head>
<body>
 <h2>xmlto - Revision 82: /</h2>
 <ul>
  <li><a href="AUTHORS">AUTHORS</a></li>
  <li><a href="COPYING">COPYING</a></li>
  <li><a href="ChangeLog">ChangeLog</a></li>
  <li><a href="FAQ">FAQ</a></li>
  <li><a href="INSTALL">INSTALL</a></li>
  <li><a href="Makefile.am">Makefile.am</a></li>
  <li><a href="NEWS">NEWS</a></li>
  <li><a href="README">README</a></li>
  <li><a href="THANKS">THANKS</a></li>
  <li><a href="config.h.in">config.h.in</a></li>
  <li><a href="configure.in">configure.in</a></li>
  <li><a href="doc/">doc/</a></li>
  <li><a href="format/">format/</a></li>
  <li><a href="xmlif/">xmlif/</a></li>
  <li><a href="xmlto.in">xmlto.in</a></li>
  <li><a href="xmlto.mak">xmlto.mak</a></li>
  <li><a href="xmlto.spec.in">xmlto.spec.in</a></li>
 </ul>
 <hr noshade><em>Powered by <a
href="http://subversion.tigris.org/";>Subversion</a> version 1.6.11
(r934486).</em>
</body></html>
---%<---
!

I also tried to use --layout single switcher, but without success:

$ hg clone --layout single http://svn.fedorahosted.org/svn/xmlto/ xmlto-hg
hg clone: option --layout not recognized
hg clone [OPTION]... SOURCE [DEST]

make a copy of an existing repository

options ([+] can be repeated):

 -U --noupdate          the clone will include an empty working copy (only a
                        repository)
 -u --updaterev REV     revision, tag or branch to check out
 -r --rev REV [+]       include the specified changeset
 -b --branch BRANCH [+] clone only the specified branch
    --pull              use pull protocol to copy metadata
    --uncompressed      use uncompressed transfer (fast over LAN)
 -e --ssh CMD           specify ssh command to use
    --remotecmd CMD     specify hg command to run on the remote side
    --insecure          do not verify server certificate (ignoring web.cacerts
                        config)

(use "hg clone -h" to show more help)


At the end I tried to checkout the same repository by subversion:

$ svn checkout http://svn.fedorahosted.org/svn/xmlto/
A    xmlto/xmlif
A    xmlto/xmlif/test
A    xmlto/xmlif/test/result-foo
A    xmlto/xmlif/test/result-bar
A    xmlto/xmlif/test/result-html
A    xmlto/xmlif/test/run-test
A    xmlto/xmlif/test/result-unrelated-condition
A    xmlto/xmlif/test/result-pdf
A    xmlto/xmlif/test/result-baz
A    xmlto/xmlif/test/result-no-condition
A    xmlto/xmlif/test/result-ps
A    xmlto/xmlif/test/test.xml
A    xmlto/xmlif/xmlif.c
A    xmlto/xmlif/xmlif.l
A    xmlto/AUTHORS
A    xmlto/configure.in
A    xmlto/ChangeLog
A    xmlto/THANKS
A    xmlto/format
A    xmlto/format/docbook
A    xmlto/format/docbook/txt
A    xmlto/format/docbook/xhtml-nochunks
A    xmlto/format/docbook/dvi
A    xmlto/format/docbook/ps
A    xmlto/format/docbook/html-nochunks
A    xmlto/format/docbook/javahelp
A    xmlto/format/docbook/awt
A    xmlto/format/docbook/epub
A    xmlto/format/docbook/xhtml
A    xmlto/format/docbook/svg
A    xmlto/format/docbook/fo
A    xmlto/format/docbook/html
A    xmlto/format/docbook/pdf
A    xmlto/format/docbook/man
A    xmlto/format/docbook/mif
A    xmlto/format/docbook/htmlhelp
A    xmlto/format/docbook/pcl
A    xmlto/format/fo
A    xmlto/format/fo/svg
A    xmlto/format/fo/txt
A    xmlto/format/fo/dvi
A    xmlto/format/fo/ps
A    xmlto/format/fo/pdf
A    xmlto/format/fo/awt
A    xmlto/format/fo/mif
A    xmlto/format/fo/pcl
A    xmlto/format/xhtml1
A    xmlto/format/xhtml1/svg
A    xmlto/format/xhtml1/txt
A    xmlto/format/xhtml1/dvi
A    xmlto/format/xhtml1/ps
A    xmlto/format/xhtml1/fo
A    xmlto/format/xhtml1/pdf
A    xmlto/format/xhtml1/awt
A    xmlto/format/xhtml1/mif
A    xmlto/format/xhtml1/pcl
A    xmlto/README
A    xmlto/config.h.in
A    xmlto/xmlto.spec.in
A    xmlto/doc
A    xmlto/doc/xmlto.xml
A    xmlto/doc/xmlif.xml
A    xmlto/INSTALL
A    xmlto/FAQ
A    xmlto/COPYING
A    xmlto/xmlto.in
A    xmlto/Makefile.am
A    xmlto/xmlto.mak
A    xmlto/NEWS

This test confirms that it is valid SVN repository.

THe hgsubversion is on place:

# ls -l /usr/lib/python2.7/site-packages/hgsubversion/ 
razem 736
-rw-r--r--. 1 root root  1993 05-07 10:46 compathacks.py
-rw-r--r--. 2 root root  2811 07-22 18:12 compathacks.pyc
-rw-r--r--. 2 root root  2811 07-22 18:12 compathacks.pyo
-rw-r--r--. 1 root root 25484 05-07 10:46 editor.py
-rw-r--r--. 2 root root 21925 07-22 18:12 editor.pyc
-rw-r--r--. 2 root root 21925 07-22 18:12 editor.pyo
...
...


Could you tell me if documentation is wrong or I missed something.

Thanks in advance for help.

When I be able to work with hgsubversion then I be continue review process for
this feature requeste.

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]