Commits

Andrew Godwin  committed f4b44c2

Remove some prints, and write a README.

  • Participants
  • Parent commits 03960fb

Comments (0)

Files changed (2)

+
+Heechee, the Hg->SVN gateway
+============================
+
+What does it do?
+----------------
+
+Heechee exposes a Mercurial repository as a Subversion repository, allowing people with subversion to checkout your project (and hopefully, in the future, commit to it as well) directly, without the need for Mercurial.
+
+
+Why?
+----
+
+Not everyone likes Mercurial, or has got round to using it yet. I develop projects using it, but it would be nice to let my fellow coders who are either stuck in the past or being held there by management the opportunity to easily checkout bits of my project. The main use I see is for svn:externals.
+
+Also, if they were feeling sick (as they probably do), Git users could, in theory, use git-svn to commit to a mercurial project, but just thinking about that makes my head hurt.
+
+
+How do I run it?
+----------------
+
+At the moment, run "python -m heechee.webdav" - that will start up a webserver on localhost:8080 that serves Heechee's own hg repository as a svn repo.
+
+
+Progress?
+---------
+
+It, uh, doesn't do much yet, just lets you check out the tip revision. But hey, that works.
+

File heechee/webdav.py

         dir_ch_in = SubElement(dir, DAV_NS+"checked-in")
         dir_ch_in.append(self._href("/!svn/ver/%s/" % rev))
         
-        print root_directory, root_directory.children
-        
         # The queue is a list of (parent, item) tuples.
         queue = [(dir, child) for child in root_directory.get_children()]
         while queue:
                 txdelta = SubElement(file, SVN_NS+"txdelta")
                 txdelta.text = make_cheap_diff(item.contents).encode("base64")
         
-        print tostring(up_rep)
         return Response(tostring(up_rep))
     
     def _href(self, target):