Hi,

I noticed that there is a new build for Prosody 0.10, but the "Changes since 
previous build" section is empty. I pulled down the tarball for each release and 
found a prosody.release file inside noting which revision the tarball was based off of.

I pulled down the 0.10 branch and ran a diff against the two revisions like so:

user@testbox:/tmp/prosody-0.10$ hg diff -r 03a43bf3ecd2:61b6a4fc65f1

and got back this output:


diff -r 03a43bf3ecd2 -r 61b6a4fc65f1 util-src/encodings.c
--- a/util-src/encodings.c      Fri Mar 27 00:28:16 2015 +0100
+++ b/util-src/encodings.c      Thu Mar 26 16:48:39 2015 +0000
@@ -452,30 +452,40 @@

 /***************** end *****************/

+static const luaL_Reg Reg[] =
+{
+       { NULL,         NULL    }
+};
+
 LUALIB_API int luaopen_util_encodings(lua_State *L)
 {
 #ifdef USE_STRINGPREP_ICU
        init_icu();
 #endif
-       lua_newtable(L);
+       luaL_register(L, "encodings", Reg);

+       lua_pushliteral(L, "base64");
        lua_newtable(L);
        luaL_register(L, NULL, Reg_base64);
-       lua_setfield(L, -2, "base64");
+       lua_settable(L,-3);

+       lua_pushliteral(L, "stringprep");
        lua_newtable(L);
        luaL_register(L, NULL, Reg_stringprep);
-       lua_setfield(L, -2, "stringprep");
+       lua_settable(L,-3);

+       lua_pushliteral(L, "idna");
        lua_newtable(L);
        luaL_register(L, NULL, Reg_idna);
-       lua_setfield(L, -2, "idna");
+       lua_settable(L,-3);

+       lua_pushliteral(L, "utf8");
        lua_newtable(L);
        luaL_register(L, NULL, Reg_utf8);
-       lua_setfield(L, -2, "utf8");
+       lua_settable(L, -3);

+       lua_pushliteral(L, "version");                  /** version */
        lua_pushliteral(L, "-3.14");
-       lua_setfield(L, -2, "version");
+       lua_settable(L,-3);
        return 1;
 }

I'm a complete newbie at Mercurial, so I could have gotten myself mixed up. Is 
that the proper way to determine what changed between two nightlies?

Thanks!


Reference:

* http://prosody.im/nightly/0.10/build117/
* http://prosody.im/nightly/0.10/build118/
* http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html

--
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to