Gentoo Archives: gentoo-commits

From: Dennis Schridde <devurandom@×××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: Documentation/
Date: Fri, 11 Feb 2011 09:39:20
Message-Id: c5f6b96ea5009b70419a2d98ded204a353790b80.devurandom@gentoo
1 commit: c5f6b96ea5009b70419a2d98ded204a353790b80
2 Author: Dennis Schridde <devurandom <AT> gmx <DOT> net>
3 AuthorDate: Fri Feb 11 09:38:41 2011 +0000
4 Commit: Dennis Schridde <devurandom <AT> gmx <DOT> net>
5 CommitDate: Fri Feb 11 09:38:41 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c5f6b96e
7
8 [Documentation/metadata-mirror-update.sh] Exchange config-file-editing hack against pure commandline variant
9
10 ---
11 Documentation/metadata-mirror-update.sh | 6 +-----
12 1 files changed, 1 insertions(+), 5 deletions(-)
13
14 diff --git a/Documentation/metadata-mirror-update.sh b/Documentation/metadata-mirror-update.sh
15 index 74f83e3..fc2b7b7 100755
16 --- a/Documentation/metadata-mirror-update.sh
17 +++ b/Documentation/metadata-mirror-update.sh
18 @@ -38,11 +38,7 @@ cd $METADATA_MIRROR_DIR/$overlay/repo || cd "failed to cd to $METADATA_MIRROR_DI
19
20 case "$type" in
21 svn)
22 - if ! grep "^use-commit-times = yes" $HOME/.subversion/config ; then
23 - mkdir -p $HOME/.subversion
24 - echo -e "[miscellany]\nuse-commit-times = yes" >> $HOME/.subversion/config || die 'enabling file time preservation failed'
25 - fi
26 - svn cleanup && svn update --force || die 'svn update failed'
27 + svn cleanup && svn update --force --config-option=config:miscellany:use-commit-times=yes || die 'svn update failed'
28 ;;
29 git)
30 git pull || die 'git update failed'