/usr/share/augeas/lenses/dist/tests/test_subversion.aug is in augeas-lenses 1.2.0-0ubuntu1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | (*
Module: Test_Subversion
Provides unit tests and examples for the <Subversion> lens.
*)
module Test_Subversion =
(* Variable: conf *)
let conf = "# This file configures various client-side behaviors.
[auth]
password-stores = gnome-keyring,kwallet
store-passwords = no
store-auth-creds = no
[helpers]
editor-cmd = /usr/bin/vim
diff-cmd = /usr/bin/diff
diff3-cmd = /usr/bin/diff3
diff3-has-program-arg = yes
[tunnels]
ssh = $SVN_SSH ssh -o ControlMaster=no
rsh = /path/to/rsh -l myusername
[miscellany]
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
*.rej *~ #*# .#* .*.swp .DS_Store
# Set log-encoding to the default encoding for log messages
log-encoding = latin1
use-commit-times = yes
no-unlock = yes
mime-types-file = /path/to/mime.types
preserved-conflict-file-exts = doc ppt xls od?
enable-auto-props = yes
interactive-conflicts = no
[auto-props]
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
*.h = svn:eol-style=native
*.dsp = svn:eol-style=CRLF
*.dsw = svn:eol-style=CRLF
*.sh = svn:eol-style=native;svn:executable
*.txt = svn:eol-style=native
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
Makefile = svn:eol-style=native
"
(* Test: Subversion.lns *)
test Subversion.lns get conf =
{ "#comment" = "This file configures various client-side behaviors." }
{ "auth"
{ "password-stores"
{ "1" = "gnome-keyring" }
{ "2" = "kwallet" } }
{ "store-passwords" = "no" }
{ "store-auth-creds" = "no" }
{ }
}
{ "helpers"
{ "editor-cmd" = "/usr/bin/vim" }
{ "diff-cmd" = "/usr/bin/diff" }
{ "diff3-cmd" = "/usr/bin/diff3" }
{ "diff3-has-program-arg" = "yes" }
{ }
}
{ "tunnels"
{ "ssh" = "$SVN_SSH ssh -o ControlMaster=no" }
{ "rsh" = "/path/to/rsh -l myusername" }
{ }
}
{ "miscellany"
{ "global-ignores"
{ "1" = "*.o" }
{ "2" = "*.lo" }
{ "3" = "*.la" }
{ "4" = "*.al" }
{ "5" = ".libs" }
{ "6" = "*.so" }
{ "7" = "*.so.[0-9]*" }
{ "8" = "*.a" }
{ "9" = "*.pyc" }
{ "10" = "*.pyo" }
{ "11" = "*.rej" }
{ "12" = "*~" }
{ "13" = "#*#" }
{ "14" = ".#*" }
{ "15" = ".*.swp" }
{ "16" = ".DS_Store" } }
{ "#comment" = "Set log-encoding to the default encoding for log messages" }
{ "log-encoding" = "latin1" }
{ "use-commit-times" = "yes" }
{ "no-unlock" = "yes" }
{ "mime-types-file" = "/path/to/mime.types" }
{ "preserved-conflict-file-exts"
{ "1" = "doc" }
{ "2" = "ppt" }
{ "3" = "xls" }
{ "4" = "od?" } }
{ "enable-auto-props" = "yes" }
{ "interactive-conflicts" = "no" }
{ }
}
{ "auto-props"
{ "*.c" = "svn:eol-style=native" }
{ "*.cpp" = "svn:eol-style=native" }
{ "*.h" = "svn:eol-style=native" }
{ "*.dsp" = "svn:eol-style=CRLF" }
{ "*.dsw" = "svn:eol-style=CRLF" }
{ "*.sh" = "svn:eol-style=native;svn:executable" }
{ "*.txt" = "svn:eol-style=native" }
{ "*.png" = "svn:mime-type=image/png" }
{ "*.jpg" = "svn:mime-type=image/jpeg" }
{ "Makefile" = "svn:eol-style=native" }
}
|