On Thu, Nov 01, 2001 at 04:54:53PM -0600, Karl Fogel wrote:
> Greg Stein <email@example.com> writes:
> > Isn't "svn st" supposed to show all unversioned files? That seemd to have
> > been the consensus.
> I thought it was only supposed to show them with -v, and that the idea
> was that plain "svn st" shows you exactly your local mods, not
> including whatever unversioned files may be lying around in your
> working copy.
> Would need to re-read the thread to know for sure.
> However, it wouldn't have helped in this case: when st always shows
> lots of "?" files, then the user will habituate to ignoring those
> lines, and so won't remember to add the file anyway. This always used
> to happen when people used "cvs up" as their "svn st" equivalent, and
> of course, we forgot to add files all the time. :-) The helpful thing
> would be if "svn st" showed you unversioned files that you *should*
> add, because then you'd always pay attention to "?" lines. Not saying
> that's easy to implement, of course, heh.
> That's not to say "svn st" should or shouldn't show unversioned files;
> merely mean to show why this one reason to favor showing them isn't a
> very good reason (as past history with CVS demonstrates).
*Nothing* today will show unversioned files except for "svn update". That
seems incredibly lame. I couldn't figure out what files that I needed to add
to source control. My answer? I happened to know they were all *.i, so I ran
"svn st *.i". Things that weren't versioned gave me an error. I added one,
and reran the command again. Added the second...
I don't understand your comment about "lots of '?' files". I never have lots
of ? files in my WC. What's wrong with your WC? And I don't like the
heuristics answer. That is too "magical".
However this works, we have a serious use case problem. "What files have I
written, which need to be added?" There is no way to answer that right now.
Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sat Oct 21 14:36:47 2006