Anonymous avatar Anonymous committed 7dbef9c

updated bug 24's number

Comments (0)

Files changed (3)

   dir  = "test_#{rand(1000)}"
   repo = nil # scoping
   
-  b.number 23
+  b.number 24
            
   b.desc   "Unable to change branches"
   

lib/amp/repository/mercurial/repo_format/store.rb

               end
               
               begin
-                STDERR.puts [path, Stores.hybrid_encode(path)].inspect
                 @opener.open(Stores.hybrid_encode(path), mode, &block)
               rescue Errno::ENOENT
                 raise

lib/amp/repository/mercurial/revlogs/revlog.rb

       ##
       # Loads a block of data into the cache. 
       def load_cache(data_file, start, cache_length)
-        STDERR.p data_file
         if data_file.nil?
           data_file = open(@index_file) if @index.inline?
           data_file = open(@data_file)  unless @index.inline?
           text = @index.cache[2]
           # load the index if we're lazy (base, rev + 1)
         end
-        STDERR.p !(@index.inline?), rev > base + 1
+        
         data_file = open(@data_file) if !(@index.inline?) && rev > base + 1
-        STDERR.p [base, data_file, text]
         text = get_chunk(base, data_file) if text.nil?
         bins = []
         (base + 1).upto(rev) {|r| bins << get_chunk(r, data_file)}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.