diff util.py @ 124:291925677a9f

tag_repo: remove gentags command, extend repo.tags(), HgChangeEditor now takes either repo or repo_path
author Luke Opperman <luke@loppear.com>
date Thu, 04 Dec 2008 13:10:40 -0600
parents ed42f6e5705a
children 9ffde8662967
line wrap: on
line diff
--- a/util.py
+++ b/util.py
@@ -94,3 +94,7 @@ def outgoing_revisions(ui, repo, hg_edit
         working_rev = working_rev[0]
     if working_rev.node() != node.nullid:
         return outgoing_rev_hashes
+
+
+def is_svn_repo(repo):
+    return os.path.exists(os.path.join(repo.path, 'svn'))