Mercurial > hgsubversion
comparison push_cmd.py @ 185:57355b0e7bd1
Creating patch for documention messages.
| author | Dan Villiom Podlaski Christiansen <danchr@cs.au.dk> |
|---|---|
| date | Sat, 17 Jan 2009 15:30:37 -0600 |
| parents | e37f9d3fd5e7 |
| children | c2e51d6a2d7b |
comparison
equal
deleted
inserted
replaced
| 184:d3ea6c98a086 | 185:57355b0e7bd1 |
|---|---|
| 11 import utility_commands | 11 import utility_commands |
| 12 | 12 |
| 13 | 13 |
| 14 def push_revisions_to_subversion(ui, repo, hg_repo_path, svn_url, | 14 def push_revisions_to_subversion(ui, repo, hg_repo_path, svn_url, |
| 15 stupid=False, **opts): | 15 stupid=False, **opts): |
| 16 """Push revisions starting at a specified head back to Subversion. | 16 """push revisions starting at a specified head back to Subversion. |
| 17 """ | 17 """ |
| 18 oldencoding = merc_util._encoding | 18 oldencoding = merc_util._encoding |
| 19 merc_util._encoding = 'UTF-8' | 19 merc_util._encoding = 'UTF-8' |
| 20 hge = hg_delta_editor.HgChangeReceiver(hg_repo_path, | 20 hge = hg_delta_editor.HgChangeReceiver(hg_repo_path, |
| 21 ui_=ui) | 21 ui_=ui) |
