Re: [PATCH] svnversion --no-stat (and an idea about changelists)
From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 2 Dec 2019 00:08:48 +0000
Julian Foad wrote on Sun, Dec 01, 2019 at 12:01:09 +0000:
I want to know whether the WC is mixed revision, like I said ☺ But let
I use a shell plugin that shows svn/git information above the shell
At the same time, because the plugin assembles its data whenever a new
Furthermore, I need just summary information. The plugin's output is
Thus, `svnversion` sans text mods is actually a very good fit for my
'info --x-viewspec' provides a superset of the information `svnversion
---- Not related to svnversion: In my use-case, another thing that'd be nice to have is an overview of the changelists in the working copy — again, without actually doing a tree walk. I can think of two shapes an API for this might take: - An API that provides the list of changelist names, cheaply. ('svn st' and 'svn info' provide this, but they're both expensive.) The list of names could be unsorted. If we were to sort it, perhaps sorting by number of files or by the mtime of of member files [either nodes.last_mod_time or on-disk mtime] would be useful. - An API such as «svn st --files-that-are-in-a-changelist». Unlike --changelist, this would show information about _all_ changelists, not just one. This would basically be the opposite of issue #3348. (I am reminded of hg revspecs¹.) Cheers, Daniel ¹ hg revspecs is a DSL for specifying sets of revisions.Received on 2019-12-02 01:08:55 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.