* subversion/svnlook/main.c (do_plist): Correctly handle invocations of 'svnlook plist --revprop' when used with '-t TXN_NAME' instead of '-r REV'. Reported by: Alexey Neyman --This line, and those below, will be ignored-- Index: subversion/svnlook/main.c =================================================================== --- subversion/svnlook/main.c (revision 916775) +++ subversion/svnlook/main.c (working copy) @@ -1685,11 +1685,16 @@ SVN_ERR(verify_path(&kind, root, path, pool)); SVN_ERR(svn_fs_node_proplist(&props, root, path, pool)); } - else + else if (c->is_revision) { SVN_ERR(svn_fs_revision_proplist(&props, c->fs, c->rev_id, pool)); revprop = TRUE; } + else + { + SVN_ERR(svn_fs_txn_proplist(&props, c->txn, pool)); + revprop = TRUE; + } if (xml) { @@ -1703,8 +1708,16 @@ if (revprop) { /* "" */ - svn_xml_make_open_tag(&sb, pool, svn_xml_normal, "revprops", - "rev", revstr, NULL); + if (c->is_revision) + { + svn_xml_make_open_tag(&sb, pool, svn_xml_normal, "revprops", + "rev", revstr, NULL); + } + else + { + svn_xml_make_open_tag(&sb, pool, svn_xml_normal, "revprops", + "txn", c->txn_name, NULL); + } } else {