Would be nice to support GitX like changeset browsing behavior when svnx called at command-line
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
See:
http://stackoverflow.com/questions/3841674/is-there-a-gitx-equivalent-for-subver
sion-that-allows-command-line-execution
Running Svnx 1.3 installs the script ~/bin/svnx, but the command ~/bin/svnx -l
." in a trunk directory throws up the error: "No working copy found. svnX
cannot find a working copy for the file “/path/to/project/trunk/.”. Please
make sure that the working copy that owns the file is defined in svnX's Working
Copies window."
Basically, I work in Terminal.app a good bit of the time, but doing svn log to
see diffs in changesets is not very clean. And, I don't want to browse around
with a full UI client because I'm fine at command line for almost everything
except easily browsing changesets for commits, which I can do easily in GitX
for Git.
Just being able to type something short (even if it is an alias) into
Terminal.app when I'm cd'd into a trunk directory of an SVN project and being
able to see a list of changesets w/colored diffs and easily browse through them
in similar fashion would be awesome.
Please, let me know if I'm doing something wrong and if this should be
possible, or consider this an enhancement request if such behavior is not
possible.
Original issue reported on code.google.com by garyswea...@gmail.com
on 20 Dec 2010 at 4:20
Google Code Exporter commented
As the error message indicates - you should add your working copy to svnX’s
Working Copies window.
Simply drag the working copy’s folder from the Finder into svnX’s Working
Copies window.
Alternatively you can use the command `svnx wc .` to open a working copy window
(without adding it).
Now `svnx log .` should work better.
Original comment by chris...@gmail.com
on 21 Dec 2010 at 3:32
Google Code Exporter commented
Thanks, but isn't there a way of doing that without dragging anything? I work
in the terminal quite a bit, and would rather not have to open things in the
Finder and then drag them into svnx to get it to work from Terminal.app.
Could automatically adding the working copy to svnx if it doesn't exist happen
via a command line switch?
Then perhaps I could have an alias for the following to open up svnx to display
the log/all change sets:
svnx --add-working-copy . && svnx log .
That may not make sense, but I want to be able to install svnx, and then in
Terminal.app in the multitude of projects just be able to run a single command
to open up the svn log to review all past change sets via a single command in
Terminal.app, like GitX's gitx command.
I know this isn't possible currently, but could similar be considered as a
change request? I think it would make svnx a lot more useful, because reviewing
past change sets to find potential causes of issues, etc. is a place where
using svn at command line really needs some UI help, but other than that I'm
happier using svn at command line and would prefer not to mess with the UI.
Thanks in advance!
Original comment by garyswea...@gmail.com
on 21 Dec 2010 at 2:55
Google Code Exporter commented
I don't mean to be rude, but did you actually read my comment?
. . . `svnx wc .` . . .
Original comment by chris...@gmail.com
on 21 Dec 2010 at 3:26
Google Code Exporter commented
Sorry, I missed the second part of that! Thanks!
I just tried:
~/bin/svnx wc . && ~/bin/svnx log .
and after 10 seconds or so of spinning for the project I was viewing (because
it has a big log: http://svn.apache.org/repos/asf/tomcat/trunk ), it shows the
log and I could select a revision and mark another to compare it to and it pops
up another window to show the diff.
Thanks again!
Original comment by garyswea...@gmail.com
on 21 Dec 2010 at 5:08
Google Code Exporter commented
Original comment by chris...@gmail.com
on 14 Apr 2011 at 12:54
- Changed state: Invalid