Re: Subcommand 'help' doesn't accept option '-r [--revision]

2014-11-19 Thread anatoly techtonik
On Wed, Nov 19, 2014 at 5:06 PM, Neels Hofmeyr wrote: > On Wed, Nov 19, 2014 at 04:06:35PM +0300, anatoly techtonik wrote: >> Took me 20 minutes to fill this one: >> http://subversion.tigris.org/issues/show_bug.cgi?id=4528 > > Wow, was gonna do it but found your issue alrea

Re: Subcommand 'help' doesn't accept option '-r [--revision]

2014-11-19 Thread anatoly techtonik
On Wed, Nov 19, 2014 at 3:45 PM, anatoly techtonik wrote: > On Wed, Nov 19, 2014 at 2:45 PM, Stefan Sperling wrote: >> On Wed, Nov 19, 2014 at 02:15:20PM +0300, anatoly techtonik wrote: >>> Hi, >>> >>> I thought you might be interested to study this usabili

Re: Subcommand 'help' doesn't accept option '-r [--revision]

2014-11-19 Thread anatoly techtonik
On Wed, Nov 19, 2014 at 2:45 PM, Stefan Sperling wrote: > On Wed, Nov 19, 2014 at 02:15:20PM +0300, anatoly techtonik wrote: >> Hi, >> >> I thought you might be interested to study this usability fail: >> >> >svn log -r 3901 -h >> Subcommand 'h

Subcommand 'help' doesn't accept option '-r [--revision]

2014-11-19 Thread anatoly techtonik
Hi, I thought you might be interested to study this usability fail: >svn log -r 3901 -h Subcommand 'help' doesn't accept option '-r [--revision] ARG' Type 'svn help help' for usage. -- anatoly t.

Re: [PATCH] svnlook.py: Make it usable as a library

2013-11-13 Thread anatoly techtonik
Wow. Thanks for the review and committing the stuff so quick. About dates, I need to check if the behaviour changed for myself. Here is the diff commented - my original version first. > $ diff -bu3 svnlook.py svnlook.py\?revision\=1541558 -p ... > -__version__ = '2012.05.24' > - Because svnlook

Re: [PATCH] svnlook.py: Make it usable as a library

2013-11-10 Thread anatoly techtonik
On Sun, Nov 10, 2013 at 1:09 AM, Gabriela Gibson wrote: > On Sat, Nov 9, 2013 at 9:03 AM, anatoly techtonik wrote: > >> ping >> >> Please, CC. >> >> On Mon, May 28, 2012 at 7:26 PM, anatoly techtonik >> wrote: >> > [[[ >> &

Re: [PATCH] svnlook.py: Make it usable as a library

2013-11-09 Thread anatoly techtonik
ping Please, CC. On Mon, May 28, 2012 at 7:26 PM, anatoly techtonik wrote: > [[[ > * tools/examples/svnlook.py: Make it usable as a library > ]]] > > Of course it would be better to use iterator interface instead of > copying lists in memory, but I don't know if Subvers

[PATCH] svnlook.py: Make it usable as a library

2012-05-28 Thread anatoly techtonik
[[[ * tools/examples/svnlook.py: Make it usable as a library ]]] Of course it would be better to use iterator interface instead of copying lists in memory, but I don't know if Subversion bindings have one. Not all commands are implemented, as I don't have time to rewrite everything, but at least i

Re: subversion pull request: port to new style classes - http://stackoverflow.c...

2012-05-24 Thread anatoly techtonik
On Thu, May 24, 2012 at 6:03 PM, Stefan Sperling wrote: > On Thu, May 24, 2012 at 05:37:17PM +0300, anatoly techtonik wrote: >> Hi Julian, >> >> Thanks for the notice. The pull request was premature (I actually made >> by editing the file from GitHub web interface) - t

Re: subversion pull request: port to new style classes - http://stackoverflow.c...

2012-05-24 Thread anatoly techtonik
Hi Julian, Thanks for the notice. The pull request was premature (I actually made by editing the file from GitHub web interface) - there are more patches to come, but as soon as they are ready I'll send an update to this thread. Feel free to comment separate revisions in the meanwhile. https://gi

Re: [PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-08 Thread anatoly techtonik
On Thu, Jun 9, 2011 at 9:28 AM, Hyrum K Wright wrote: > On Wed, Jun 8, 2011 at 5:59 AM, anatoly techtonik wrote: >> On Wed, Jun 8, 2011 at 12:57 PM, Stefan Sperling wrote: >>> On Wed, Jun 08, 2011 at 09:34:05AM +0300, anatoly techtonik wrote: >>>> On Mon, Jun 6, 20

Re: [PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-08 Thread anatoly techtonik
On Wed, Jun 8, 2011 at 12:57 PM, Stefan Sperling wrote: > On Wed, Jun 08, 2011 at 09:34:05AM +0300, anatoly techtonik wrote: >> On Mon, Jun 6, 2011 at 6:32 PM, Stefan Sperling wrote: >> > On Thu, Jun 02, 2011 at 07:06:05PM +0300, anatoly techtonik wrote: >> >>

Re: [PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-08 Thread anatoly techtonik
On Wed, Jun 8, 2011 at 10:50 AM, Daniel Shahaf wrote: >> On Wed, Jun 8, 2011 at 9:34 AM, anatoly techtonik >> wrote: >> > On Mon, Jun 6, 2011 at 6:32 PM, Stefan Sperling wrote: >> >> On Thu, Jun 02, 2011 at 07:06:05PM +0300, anatoly techtonik wrote: >> &g

Re: [PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-08 Thread anatoly techtonik
-- anatoly t. On Wed, Jun 8, 2011 at 9:34 AM, anatoly techtonik wrote: > On Mon, Jun 6, 2011 at 6:32 PM, Stefan Sperling wrote: >> On Thu, Jun 02, 2011 at 07:06:05PM +0300, anatoly techtonik wrote: >>> Attached patch fixes svnmerge history conversion script to use >>&g

Re: [PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-07 Thread anatoly techtonik
On Mon, Jun 6, 2011 at 6:32 PM, Stefan Sperling wrote: > On Thu, Jun 02, 2011 at 07:06:05PM +0300, anatoly techtonik wrote: >> Attached patch fixes svnmerge history conversion script to use >> optparse library instead of getopt. This allows further addition of >> new option

[PATCH] svnmerge-migrate-history-remotely.py: move from getopt to optparse

2011-06-02 Thread anatoly techtonik
Attached patch fixes svnmerge history conversion script to use optparse library instead of getopt. This allows further addition of new options, such as --username and --password. Please, CC -- anatoly t. [[[ Switch svnmerge history conversion script from getopt to optparse library. * contrib/cli

Re: Document return codes of 'svn ls'

2011-01-25 Thread anatoly techtonik
On Tue, Jan 25, 2011 at 11:30 PM, C. Michael Pilato wrote: > On 01/25/2011 03:53 PM, anatoly techtonik wrote: >> On Tue, Jan 25, 2011 at 9:35 PM, Daniel Shahaf >> wrote: >>> I was suggesting a syntax we might want to implement in the future. >> >> So, you bas

Re: Document return codes of 'svn ls'

2011-01-25 Thread anatoly techtonik
On Tue, Jan 25, 2011 at 9:35 PM, Daniel Shahaf wrote: > I was suggesting a syntax we might want to implement in the future. So, you basically agree that there is no way to see if a path is absent at specified revision in repository. Should I create an issue? -- anatoly t.

Re: Document return codes of 'svn ls'

2011-01-25 Thread anatoly techtonik
On Tue, Jan 25, 2011 at 8:47 PM, Daniel Shahaf wrote: > anatoly techtonik wrote on Fri, Jan 21, 2011 at 13:42:51 +0200: >> No. Internet connection may be down during this specific request. How can I >> distinguish these two errors? > > How about something like this:

Re: Document return codes of 'svn ls'

2011-01-21 Thread anatoly techtonik
No. Internet connection may be down during this specific request. How can I distinguish these two errors? On Jan 21, 2011 11:13 AM, "Arwin Arni" wrote: On Friday 21 January 2011 02:41 AM, anatoly techtonik wrote: > > On Thu, Jan 20, 2011 at 8:29 PM, Hy... If the URL is not valid

Re: Document return codes of 'svn ls'

2011-01-20 Thread anatoly techtonik
On Thu, Jan 20, 2011 at 8:29 PM, Hyrum K Wright wrote: > On Thu, Jan 20, 2011 at 3:41 AM, Arwin Arni wrote: >> >> On Saturday 15 January 2011 12:24 AM, anatoly techtonik wrote: >>> >>> Hello, >>> >>> How can I know if a file is not present in

Document return codes of 'svn ls'

2011-01-14 Thread anatoly techtonik
Hello, How can I know if a file is not present in specific revision? >From one side I can run 'svn ls' and if it returns 0 when file exists, but if 'svn ls' returns 1 it is impossible to guess between generic error and situation when path for file doesn't exist in this specific revision. Message

Re: State of Python Bindings for Windows

2010-09-21 Thread anatoly techtonik
On Tue, Sep 21, 2010 at 6:23 PM, wrote: > > You can find un-tested/un-official versions here: http://alagazam.net/ > > I didn't create them, just *really* happy they are there... > (And the python and perl bindings do appear to work, just >  haven't had any official testing according to the autho

State of Python Bindings for Windows

2010-09-20 Thread anatoly techtonik
Hello, I can't find any binaries for Python bindings for Windows. Previously they were available from tigris.org site, but now there aren't any updates. It will greatly reduce frustration for users of hgsubversion and other Windows tools if up to date official bindings could be available from PyPI

Re: [PATCH] Fix community guide links to "Writing log messages" chapter (issue2016045)

2010-08-26 Thread anatoly techtonik
On Wed, Aug 25, 2010 at 10:43 PM, C. Michael Pilato wrote: > On 08/25/2010 11:46 AM, techto...@gmail.com wrote: >> Reviewers: dev_subversion.apache.org, >> >> Message: >> Community guide contains broken links to Writing log messages chapter. >> Please, review this patch. >> > > Committed in r98932

Extensible changeset format proposal

2010-08-26 Thread anatoly techtonik
Hello, Don't you think it is time to design an extensible changeset format for exchanging information about changesets between systems? Right now I am struggling to extract full information from uncommitted Subversion changeset for uploading it for review (in Rietveld project). Rietveld code revi

Re: [PATCH] Rename "--git-diff" to "--git" for "svn diff"

2010-08-25 Thread anatoly techtonik
On Wed, Aug 25, 2010 at 10:58 PM, Stefan Sperling wrote: >> Here is the patch. I've embedded log message inside and also opened >> Rietveld issue if you like. http://codereview.appspot.com/2012048/ > > Thank you! Committed in r989327. > > I've tweaked the log message a bit, most importanly to ment

[PATCH] Rename "--git-diff" to "--git" for "svn diff"

2010-08-25 Thread anatoly techtonik
ug 24, 2010 at 07:51:28PM +0300, anatoly techtonik wrote: >> > Good to know. Is it worth to rename it to `svn diff --git` for >> > unification with Mercurial? >> >> I suppose we could rename the option to "--git", yes. >> Do you want to send a patch tha

Re: git diff format support

2010-08-25 Thread anatoly techtonik
On Wed, Aug 25, 2010 at 12:21 PM, Daniel Shahaf wrote: > Stefan Sperling wrote on Tue, Aug 24, 2010 at 23:03:24 +0200: >> On Tue, Aug 24, 2010 at 07:51:28PM +0300, anatoly techtonik wrote: >> > Good to know. Is it worth to rename it to `svn diff --git` for >> > unificat

Re: git diff format support

2010-08-24 Thread anatoly techtonik
d regards, > > Jon > > -Original Message- > From: anatoly techtonik [mailto:techto...@gmail.com] > Sent: 24 August 2010 17:35 > To: Subversion Development > Subject: git diff format support > > Hello again, > > I am struggling with "svn diff"

git diff format support

2010-08-24 Thread anatoly techtonik
Hello again, I am struggling with "svn diff" output format, which doesn't contain information about added, copied and renamed files. This information is needed for generating complete code review diffs for Rietveld project. It would be nice if `svn diff` supported additional -g, --git option to ge

Re: Disable diff-cmd

2010-08-24 Thread anatoly techtonik
On Tue, Aug 24, 2010 at 3:48 PM, Philip Martin wrote: > >> Not really. In Rietveld project we call "svn diff" by upload.py script >> used to send diffs for review to remote server. We can't instruct >> users to copy config dir, so we need to do this automatically. That >> means copying the whole c

Re: Disable diff-cmd

2010-08-24 Thread anatoly techtonik
On Tue, Aug 24, 2010 at 2:29 PM, Stefan Sperling wrote: >> > >> > --internal-diff seems to be new in 1.7 so i guess the only option is using >> > --config-dir to override it. >> >> Why not to stop proliferation of options by allowing an empty value >> for --diff-cmd to be treated as an instruction

Re: Disable diff-cmd

2010-08-24 Thread anatoly techtonik
On Tue, Aug 24, 2010 at 11:35 AM, Martin Furter wrote: > > --internal-diff seems to be new in 1.7 so i guess the only option is using > --config-dir to override it. Why not to stop proliferation of options by allowing an empty value for --diff-cmd to be treated as an instructions to use internal

Disable diff-cmd

2010-08-23 Thread anatoly techtonik
Hello, Is there any way to disable "diff-cmd" setting for just one run of "svn diff"? I need it for code review upload script, which fails when users have configured graphical diff. Is there any way to force svn use internal diff implemantation? I've tried: svn diff --config-option config:helpers:

bug: missing files in WC after tree conflict

2010-03-15 Thread anatoly techtonik
Please, confirm this bug to track it in bug tracker. I've just locked my WC located on samba share into state inconsistent with repository. The file mailer_stable.conf present in repository has gone from WC and doesn't come back. The command line log is below. Please, CC. J:\eqtools>svn up   C

svn --changelist ARG merge ^/branches/new-feature

2010-01-22 Thread anatoly techtonik
Hello, Is it possible to implement --changelist to merge command or it will be banned as counterintuitive? Sometimes only certain directories are needed to be periodically merged from specified branch, and it would be convenient to have them in changelist to run one command with options for all me