On Sat, Aug 10, 2013 at 5:25 PM, Daniel Shahaf <danie...@elego.de> wrote: > >> It would have been nice if --incremental would automatically upgrade the >> target repository (and fallback to a full backup) if the versions >> mismatch. > > Hmm. Interesting idea, but replacing failure modes with automagical > behaviour is generally looked at with skepticism (is this error _really_ > always safe to not tell the admin about?). For the sake of argument, > why shouldn't admins who want this behaviour opt-in to it by having > their scripts do > > svnadmin upgrade $dest > svnadmin hotcopy --incremental $src $dest > > ? (Note that 'upgrade' is idempotent, and will exit without error for > already-most-recent-format repositories.)
Which case is worse for an unattended script? Leaving you with no backups or one that needs a newer program to be able to use? And which case might an early user of subversion have been trained to expect? -- Les Mikesell lesmikes...@gmail.com