|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix version number grabbing after switch from bk to hg.
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 1391ff1f0e1901f34d977d37f8bdb9f768da37af
# Parent ceb8d28b683e0aed53d4433f16699439c3aad045
Fix version number grabbing after switch from bk to hg.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r ceb8d28b683e -r 1391ff1f0e19 xen/Makefile
--- a/xen/Makefile Fri Jul 8 16:36:26 2005
+++ b/xen/Makefile Wed Jul 13 13:54:15 2005
@@ -77,7 +77,7 @@
-e 's/@@version@@/$(XEN_VERSION)/g' \
-e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
-e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
- -e 's!@@changeset@@!$(shell bk changes -nd':D: :T: :REV: :MD5KEY:'
-r+ 2>/dev/null || echo information unavailable)!g' \
+ -e 's!@@changeset@@!$(shell (hg parents | awk -F:
'/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}')
2>/dev/null || (head -6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[
]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information
unavailable)!g' \
< include/xen/compile.h.in > $@.new
@cat include/xen/banner.h >> $@.new
@mv -f $@.new $@
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix version number grabbing after switch from bk to hg.,
Xen patchbot -2 . 0-testing <=
|
|
|
|
|