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

Re: [PATCH][RESEND] Issue #1295 (take 5)

From: Colin Watson <cjwatson_at_flatline.org.uk>
Date: 2003-05-14 21:25:46 CEST

On Wed, May 14, 2003 at 07:46:53AM -0400, Garrett Rooney wrote:
> Honestly, I use the feature in perforce, but primarily because I can't
> figure out how to tell perforce to do a 'p4 submit foo/bar.c
> blah/baz.c'. You can do wildcards, but that only works if you want
> everything in a directory, or you can do 'everything' and edit the
> list, at least as far as I can tell. Subversion's current way of
> dealing with it seems more intuitive, the perforce way seems like a
> bit of a hack.

Well, I kind of see your point, but when you display a list of files
it's not unreasonable for a user to expect to be able to edit them and
modify the commit accordingly. I'm quite prepared to believe it's
complex from an implementation point of view, and I do hate the way you
can't submit multiple files on the command line in Perforce, but after
spending a couple of years working in a Perforce-using shop I grew to
truly appreciate the file list editing feature when I had lots of files
open spread out all over my working copy. cd to the top level, 'p4
submit', delete the couple of files I didn't want; much faster than
trying to tab-complete a couple of dozen filenames or copy and paste
them from 'svn status' output.

There's another benefit to the Perforce approach for Subversion; it'll
be an easy way around the problem of trying to commit a propchange to a
directory when you've also changed some files in that directory. Instead
of 'svn ci --depth 0' and suchlike (which with all due respect I think
is a neat but horribly unintuitive idea - I wouldn't swear offhand to it
being '--depth 0' rather than '--depth 1', for instance, which isn't a
good sign), you could just 'svn ci' and delete all the file
modifications from the list, leaving only the propchange. Dead easy, and
you could teach it to a user in ten seconds just by demonstration.


Colin Watson                                  [cjwatson@flatline.org.uk]
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 21:27:17 2003

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.