Code

git-svn: extra safety for noMetadata and useSvmProps users
authorEric Wong <normalperson@yhbt.net>
Sun, 11 Feb 2007 23:21:24 +0000 (15:21 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:12 +0000 (00:57 -0800)
commit97ae091169b233ecd80eb5ef2da80145f8c724f7
treeed25348065b861b6be807f85fcb864fd5451d874
parent93f2689ccdf7b62864aac40097bfd51328fae5b7
git-svn: extra safety for noMetadata and useSvmProps users

Make sure we flush our userspace buffers and and fsync(2)
.rev_db information to disk if we use these options because
we really don't want to lose this information.

Also, disallow --use-svm-props and --no-metadata from the
command-line because history will be inconsistent if they're
only used occasionally.  If a user wants to use these options,
they must be set in the config so they're always on.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt
git-svn.perl