Skip to contentSkip to conversation

Add short changeset to 'xm info'

PATCH RESEND New Dan Smith 1 participant 1 message Oct 10, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH RESEND 1/1 Add short changeset to 'xm info'

I think the application of this patch was lost under all the discussion about it. I don't think it was ever officially shot down.

We're getting to the point in xm-test reporting where it would be nice to have this information available.

xen/Makefile +1 -1
diff -r 5e5ae8340956 xen/Makefile
@@ -99,7 +99,7 @@
 	    -e 's/@@version@@/$(XEN_VERSION)/g' \
 	    -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
 	    -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/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 -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information unavailable)!g' \
+	    -e 's!@@changeset@@!$(shell (hg parents | awk '{FS="changeset:[ ]+"}/^changeset/{CS=$$2};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || (head -n 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 > [email protected]
 	@cat include/xen/banner.h >> [email protected]
 	@mv -f [email protected] $@
Signature · 5 lines
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel