andialbrecht / hgsvn (http://cheeseshop.python.org/pypi/hgsvn)
A set of scripts to work locally on Subversion checkouts using Mercurial.
Clone this repository (size: 254.6 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/andialbrecht/hgsvn/
| commit 213: | 17d03e2aa338 |
| parent 212: | 96f46a1f42d7 |
| branch: | hgsvn |
Display author information (hgpullsvn, fixes issue34).
Changed (Δ30 bytes):
raw changeset »
hgsvn/run/hgpullsvn.py (2 lines added, 2 lines removed)
Up to file-list hgsvn/run/hgpullsvn.py:
| … | … | @@ -219,10 +219,10 @@ def real_main(options, args): |
219 |
219 |
for entry in run_svn_log(repos_url, current_rev, svn_greatest_rev, |
220 |
220 |
100): |
221 |
221 |
if entry["message"]: |
222 |
msg = entry["message"].splitlines()[0] |
|
222 |
msg = entry["message"].splitlines()[0].strip() |
|
223 |
223 |
else: |
224 |
224 |
msg = "" |
225 |
line = "[%d] %s |
|
225 |
line = "[%d] %s (%s)" % (entry["revision"], msg, entry["author"]) |
|
226 |
226 |
# TODO: Line stripping should be done by some simple UI interface. |
227 |
227 |
if len(line) > 79: |
228 |
228 |
line = line[:77]+"..." |
