Hey, There's absolutely nothing wrong with the way `fossil ui` shows it's changes. Sometimes it's nice to be able to go through the timeline on the command line and view the payload of the commits.
I'm looking for diff output that shows all the changes and files affected from that commit. As far as the from/to, It'd be from the previous commit to the commit you're interested in. Here's an example from git: ~/work/rack-proxy[master]% git show 5c720a9ba44 commit 5c720a9ba4422092e150895bc33dadf00edefd97 Author: Jacek Becela <[email protected]> Date: Thu Nov 4 10:45:06 2010 +0100 Use bundler for gem building diff --git a/.gitignore b/.gitignore index 0c6117d..9f30a35 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -pkg \ No newline at end of file +pkg/* +*.gem +.bundle diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..ae1c988 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source "http://rubygems.org" + +# Specify your gem's dependencies in rack-proxy.gemspec +gemspec diff --git a/Rakefile b/Rakefile index 627b4ec..e394fd1 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,7 @@ -require "rake/testtask" +require 'bundler' +Bundler::GemHelper.install_tasks +require "rake/testtask" task :test do Rake::TestTask.new do |t| t.libs << "test" @@ -9,20 +11,3 @@ task :test do end task :default => :test - -begin - require 'jeweler' - Jeweler::Tasks.new do |gem| - gem.name = "rack-proxy" - gem.summary = "A request/response rewriting HTTP proxy. A Rack app." - gem.description = "A Rack app that provides request/response rewriting proxy capabilities with streaming." - gem.email = "[email protected]" - gem.homepage = "http://github.com/ncr/rack-proxy" - gem.authors = ["Jacek Becela"] - gem.add_dependency "rack" - gem.add_development_dependency "rack-test" - end - Jeweler::GemcutterTasks.new -rescue LoadError - puts "Jeweler not available. Install it with: gem install jeweler" -end diff --git a/VERSION b/VERSION deleted file mode 100644 index 1c09c74..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.3.3 diff --git a/lib/rack-proxy.rb b/lib/rack-proxy.rb new file mode 100644 index 0000000..3d7a81c --- /dev/null +++ b/lib/rack-proxy.rb @@ -0,0 +1 @@ +require "rack/proxy" \ No newline at end of file diff --git a/lib/rack/proxy.rb b/lib/rack/proxy.rb index de982ea..f93b0f8 100644 --- a/lib/rack/proxy.rb +++ b/lib/rack/proxy.rb @@ -5,6 +5,8 @@ module Rack # Subclass and bring your own #rewrite_request and #rewrite_response class Proxy + VERSION = "0.3.4" + def call(env) rewrite_response(perform_request(rewrite_env(env))) end diff --git a/rack-proxy.gemspec b/rack-proxy.gemspec index e003976..2c22026 100644 --- a/rack-proxy.gemspec +++ b/rack-proxy.gemspec @@ -1,57 +1,24 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "rack-proxy" Gem::Specification.new do |s| - s.name = %q{rack-proxy} - s.version = "0.3.3" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Jacek Becela"] - s.date = %q{2010-01-22} + s.name = "rack-proxy" + s.version = Rack::Proxy::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["Jacek Becela"] + s.email = ["[email protected]"] + s.homepage = "http://rubygems.org/gems/rack-proxy" + s.summary = %q{A request/response rewriting HTTP proxy. A Rack app.} s.description = %q{A Rack app that provides request/response rewriting proxy capabilities with streaming.} - s.email = %q{[email protected]} - s.files = [ - ".gitignore", - "Rakefile", - "Readme", - "VERSION", - "lib/net_http_hacked.rb", - "lib/rack/http_streaming_response.rb", - "lib/rack/proxy.rb", - "rack-proxy.gemspec", - "test/http_streaming_response_test.rb", - "test/net_http_hacked_test.rb", - "test/rack_proxy_test.rb", - "test/test_helper.rb" - ] - s.homepage = %q{http://github.com/ncr/rack-proxy} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.5} - s.summary = %q{A request/response rewriting HTTP proxy. A Rack app.} - s.test_files = [ - "test/http_streaming_response_test.rb", - "test/net_http_hacked_test.rb", - "test/rack_proxy_test.rb", - "test/test_helper.rb" - ] - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.rubyforge_project = "rack-proxy" - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<rack>, [">= 0"]) - s.add_development_dependency(%q<rack-test>, [">= 0"]) - else - s.add_dependency(%q<rack>, [">= 0"]) - s.add_dependency(%q<rack-test>, [">= 0"]) - end - else - s.add_dependency(%q<rack>, [">= 0"]) - s.add_dependency(%q<rack-test>, [">= 0"]) - end -end + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] + s.add_dependency("rack") + s.add_development_dependency("rack-test") +end On Wed, Feb 16, 2011 at 8:27 AM, Richard Hipp <[email protected]> wrote: > > > On Wed, Feb 16, 2011 at 8:17 AM, Justin Mazzi <[email protected]> wrote: > >> That ones me to list the files along with the ID: > > > What do you want to see, exactly? A list of files that changed for a > single checkin? Or the differences in each file for a single checkin? The > first is not available right now (I don't think) in fossil (mostly because I > have never wanted to do that an so have not written the 20-lines or so of > code to implement it). The second can be done using "diff" with the --from > and --to options. > > What's wrong with use "fossil ui" and web interface? > > > >> >> fossil diff a92874056e >> fossil: file a92874056e does not exist in checkin: >> >> I'm looking for something that will show me the entire payload of a >> checkin, much like `git show commit-id` >> >> >> On Wed, Feb 16, 2011 at 8:14 AM, Richard Hipp <[email protected]> wrote: >> >>> >>> >>> On Tue, Feb 15, 2011 at 3:11 PM, Justin Mazzi <[email protected]> wrote: >>> >>>> Hey, >>>> >>>> Is there a command to show what changes are in a commit like you can >>>> with the web UI? This looks like the function that does it for the web >>>> server. >>>> >>> >>> The "fossil diff" command? >>> >>> >>>> >>>> /* >>>> ** WEBPAGE: vinfo >>>> ** WEBPAGE: ci >>>> ** URL: /ci?name=RID|ARTIFACTID >>>> ** >>>> ** Display information about a particular check-in. >>>> ** >>>> ** We also jump here from /info if the name is a version. >>>> ** >>>> ** If the /ci page is used (instead of /vinfo or /info) then the >>>> ** default behavior is to show unified diffs of all file changes. >>>> ** With /vinfo and /info, only a list of the changed files are >>>> ** shown, without diffs. This behavior is inverted if the >>>> ** "show-version-diffs" setting is turned on. >>>> */ >>>> void ci_page >>>> >>>> >>>> >>>> -- >>>> Justin Mazzi >>>> >>>> _______________________________________________ >>>> fossil-users mailing list >>>> [email protected] >>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >>>> >>>> >>> >>> >>> -- >>> D. Richard Hipp >>> [email protected] >>> >>> _______________________________________________ >>> fossil-users mailing list >>> [email protected] >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >>> >>> >> >> >> -- >> Justin Mazzi >> >> _______________________________________________ >> fossil-users mailing list >> [email protected] >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> >> > > > -- > D. Richard Hipp > [email protected] > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- Justin Mazzi
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

