Commit graph

6 commits

Author SHA1 Message Date
Matthias Andree
db878e07de Give proper reason why we reject replaced files. 2014-01-21 00:44:08 +00:00
Beat Gaetzi
0ad288949c - Set fbsd:nokeywords property value to the one recommended by the Ports
Subversion Primer.

Approved by:	mandree@ (maintainer)
2012-09-09 17:07:17 +00:00
Matthias Andree
34a636ac73 Use "exec" when executing SVN with user-provided arguments,
to avoid running SVN multiple times with command lines like the
following:

svn co --depth empty svn+ssh://svn.freebsd.org/ports/head ports

Reported by:	ak@ (on IRC)
2012-08-24 19:54:38 +00:00
Matthias Andree
e703ecdcc8 Changes over original script:
- FIX: all progress and error output goes to fd#2 (stderr)
- FIX: at top level, properly detect commands if preceded by options
- FIX: in checkstatus(), handle ~ (obstructed versioned item)
- FIX: support blanks, leading dashes, and shell meta characters:
  + in file names, so as not to choke the script on difficult file names
  + in command line arguments, so that svn commit -m "commit message" works,
    rather than complaining about an unversioned file "message".
- FIX: in checkstatus(), keep leading spaces from svn status
- FIX: in setprop(), detect egrep errors, rather than assuming "no match"
- ADD: die if "check" psvn-specific command has trailing arguments
- CHANGE: replace `...` by more concise $(...) notation
- CHANGE: take maintainership, offered by beat@.
- SPEEDUP: in checkstatus(), use shell built-ins, rather than commands
- SPEEDUP: when checking files, run svn only once, rather than for each file
- SPEEDUP: when skipping "svn rm"-ed files, use ! -e rather than head|awk
- TODO: handle long options for svn commit
- TODO: do not stomp over svn:mime-type if it's already set (binary files!)

Approved by: beat@ (maintainer)
2012-08-20 20:42:24 +00:00
Beat Gaetzi
28be53e942 - Remove duplicate execution of svn info [1]
- Add description what the script actually does

Submitted by:	gahr [1]
2012-07-18 19:52:33 +00:00
Beat Gaetzi
75ecda1127 - Add a svn wrapper which does sanity checking and handles svn properties 2012-07-15 22:09:45 +00:00