Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3625 Commit shelving
  3. SVN-4778

Shelving: remind user if old 1.10 shelves exist

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If old shelves created by Subversion 1.10 exist in the WC, shelving should remind the user, for these reasons:

      1. to help the user avoid losing their work (perhaps forgetting it exists and deleting the WC);
      2. to help the user read the names of their old shelves (as the filenames are encoded);
      3. to encourage the user to free up the ".svn/shelves" namespace

      The reminder could be issued when "svn shelf-list" is used.

      It would be sufficient to list the names of the old shelves, with a note explaining that the user can restore them using "svn patch .svn/shelves/FOO". It is not necessary to provide any further commands to manipulate them.

      Note that a 1.10 shelf is in the form of a patch file and does not contain enough metadata to be converted easily, deterministically, automatically to a newer format.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              julianfoad Julian Foad
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: