Revision 443:350acce374a2 app/models/repository
| app/models/repository/mercurial.rb | ||
|---|---|---|
| 22 | 22 |
has_many :changesets, :order => "#{Changeset.table_name}.id DESC", :foreign_key => 'repository_id'
|
| 23 | 23 |
|
| 24 | 24 |
attr_protected :root_url |
| 25 |
validates_presence_of :url |
|
| 25 |
# validates_presence_of :url
|
|
| 26 | 26 |
|
| 27 | 27 |
FETCH_AT_ONCE = 100 # number of changesets to fetch at once |
| 28 | 28 |
|
Also available in: Unified diff