Author: ajorg
Date: 2008-02-06 16:03:24 -0500 (Wed, 06 Feb 2008)
New Revision: 95076
Modified:
trunk/release/packaging/do-msvn-tar
Log:
Get log messages from the current back to the previous revision. Fixes
a bug where the whole log is given when building on a tag.
Modified: trunk/release/packaging/do-msvn-tar
===================================================================
--- trunk/release/packaging/do-msvn-tar 2008-02-06 20:32:01 UTC (rev 95075)
+++ trunk/release/packaging/do-msvn-tar 2008-02-06 21:03:24 UTC (rev 95076)
@@ -168,7 +168,11 @@
command = 'cd %s/%s; svn switch %s %s/%s' % (cache_dir,
module, rev_arg, MONO_ROOT, path)
(status, output) = utils.launch_process(command,
output_timeout=output_timeout, print_command=1)
- command = 'cd %s/%s; svn log -v %s' % (cache_dir,
module, rev_arg)
+ command = 'cd %s/%s; svn info' % (cache_dir, module)
+ (status, output) = utils.launch_process(command,
output_timeout=output_timeout)
+ new_revision, = re.compile("Revision:
(.*)").search(output).groups()
+
+ command = 'cd %s/%s; svn log -v -r%s:%s' % (cache_dir,
module, new_revision, old_revision)
(status, output) = utils.launch_process(command,
output_timeout=output_timeout, print_command=1)
else:
# create cache dir
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches