public
Description: probably a waste of time
Clone URL: git://github.com/claude/git_local.git
Dang, forgot to add the formatted_name parameter to the mathod that writes 
the repo config
claude (author)
Sat Apr 19 17:55:31 -0700 2008
commit  e6e46f570d6e423eca21cd3764ac0ed52e322ce7
tree    6b11d0bafd965ec16582a7a216f515959fdc437e
parent  509313be521a7a097c39d9b1c7527f732ed1fbc5
...
47
48
49
50
51
52
53
54
55
56
57
58
...
63
64
65
66
 
67
68
69
...
47
48
49
 
 
 
 
 
 
50
51
52
...
57
58
59
 
60
61
62
63
0
@@ -47,12 +47,6 @@ get "/tree/:name/*" do
0
   erb :tree
0
 end
0
 
0
-get "/admin" do
0
- load_config
0
- load_repos
0
- erb :admin
0
-end
0
-
0
 post "/create_repo_path" do
0
   create_repositories_path(params[:path])
0
   redirect '/'
0
@@ -63,7 +57,7 @@ post "/add_repo" do
0
   set_index
0
   load_config
0
   path = @config['path'] + '/' + underscorify(params[:name]) + '.git'
0
- @repo_to_create = { @repo => {'path' => path, 'name' => params[:name]}}
0
+ @repo_to_create = { @repo => {'path' => path, 'name' => params[:name], 'formatted_name' => underscorify(params[:name])}}
0
   yaml_to_write
0
   File.open('config/repos.yml', 'w') do |w|
0
     YAML.dump(yaml_to_write, w)

Comments

    No one has commented yet.