There are various (diff) Tools available in the market,which also can be used for comparing the wM packages and it checks very keenly what the changes made between different versions of same package/ns folders etc…,which will save us more time than coding a scripts.
As far i remember its called Win Diff tool.
you may try searching in download.com,
#webMethods#Integration-Server-and-ESB#webMethods-Upgrade#webMethods-General