[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] ver2: remove progname hardcoding in svnmerge,py

From: Madan U S <madan_at_collab.net>
Date: 2006-03-31 15:10:44 CEST

Pl. ignore my previous patch.

My previous patch assumes that svnmerge is called as 'svnmerge command' from the commandline. However, when I use svnmerge, it typically is 'path/to/svnmerge.py command'. The attached patch takes care of all variations of using path with actual .py extension, or just 'svnmerge' from command line.

[[[
Remove hard-coding of program name

* contrib/client-side/svnmerge.py
  (NAME): use sys.argv[0] to obtain the program name,
          instead of hard-coding. Also perform the
          necessary striping required to extract
          *only* the command name.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

  • application/octet-stream attachment: smdiff
  • application/octet-stream attachment: smlog
Received on Fri Mar 31 15:13:55 2006

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.