문제

Is there a tool, library, or extension that generates ASCII art-style (like the kind of art cowsay or JavE produce) revision graphs for Subversion repositories, and thus could be used within a command-line interface?

I would like to add the capability to generate a revision graph to a bash script, that I use at work, that currently acts as a kind of simple decision support system for interacting with a repository.

The key functionality that I'm searching for is the ability to render a revision graph in a command-line interface, as opposed to generating an image or vector file that would require leaving the CLI environment.

The closest thing to what I'm searching for appears to be the GraphlogExtension of Mercurial. I don't have experience with Mercurial; however, I'd also be interested in any suggestions as to how the GraphlogExtension might be able to be modified for use with SVN.

Many thanks.

도움이 되었습니까?

해결책

Maybe you can use git2svn in order to get svn synchroniced as a git repository...

Then using git tools, you could get it (git log --pretty=format:'%h : %s' --topo-order --graph). you can read more, an get it more accurate to your needs on pimping out git log

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top