2009-06-08, Mon

mercurial (hg) equivalent of "svn export"

Having recently switched from subversion (svn) to mercurial (hg) for my source control needs, I needed to find an equivalent to my web development workflow that looks something like this:

      svn export ..\project.export
      rsync ..\project.export ssh://[email protected]

The equivalent of exporting an unversioned copy of your code in mercurial is:

      hg archive ..\project.export

And then you can do whatever you want with it.

Isaac Su

tags: archive export hg mercurial subversion svn

---

Comment

Commenting is closed for this article.

---