Menu

Commit [r271]  Maximize  Restore  History

Continue issue #730: restartable checkouts.

Make 'svn status' recognize incomplete directories. Also, fix a
buglet related to the new 'incomplete' flags, only now revealed by
'svn status'.

Mauve Bikeshed: show a "!" for incomplete dirs, just like missing
items, so that users realize that 'svn up' needs to be run.

[ People are still arguming, but let's try this out for a little
while. If we come up with a different consensus, or if this causes
disaster/confusion, we can always change it. ]

* libsvn_wc/entries.c, entries.h (svn_wc__entries_init): if 0 or -1 is
passed in as a revnum, then do *not* mark THIS_DIR as incomplete;
it's just a new directory being scheduled for addition.

* libsvn_wc/update_editor.c (close_directory): egads, stop having
close_directory() bump the directory revnum! this is old cruft, no
longer necessary, since the legitimate revnum is already installed
by open_dir() or add_dir().

* libsvn_wc/status.c (assemble_status): notice incompleteness in the
same place we recognize absence.

* svn_wc.h (enum svn_wc_status_kind): new 'incomplete' status enum.

* cmdline/status.c (generate_status_code): show a '!' for incompleteness.

* cmdline/main.c (svn_cl__cmd_table): augment 'svn help' description.

* book/ch03.xml, ch08.xml: update book's description of '!', and what
to do when you see it.

sussman 2003-05-15

changed /trunk/src/book/book/ch03.xml
changed /trunk/src/book/book/ch08.xml
/trunk/src/book/book/ch03.xml Diff Switch to side-by-side view
Loading...
/trunk/src/book/book/ch08.xml Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.