Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Sorry, but svn log -v works. You're either not looking at the code or you didn't commit a delete on the file.

    • Even though Shlomi Fish grilled me for about half an hour on what I did and how I did it to find the missing file, I will show it here as well anyway, because "Seeing is believing".

      xsawyerx@gnubuntu:~/code/admin/My-App$ svn status
      ?      output_log.txt
      M      Changes

      xsawyerx@gnubuntu:~/code/admin/My-App$ svn log -v | grep 10-eg_server.t -B 6
      ------------------------------------------------------------------------
      r12 529 | yaronm | 2009-04-12 18:34:49 +0300 (Sun, 12 Apr 2009) |

      • I wasn't trying to be insulting. It's only reasonable to look for user mistakes or misunderstanding before assuming that a behavior in a widely used piece of software is a bug. Think of how many times people have reported they found a bug in Perl and how many times they actually had.

        I suspect there's an answer for this one involving either how the paths under CWD are figured or which revisions are shown when no number is specified. If you actually want to solve it, I suspect you'd be better off asking on

  • svn log is brain-dead and will display more/different information for the URL than the working copy path (the command's default). So try using the URL at the end of the command.
  • I'm guessing git is like mercurial, in that it shows you the commit log for the entire repo no matter what your cwd. Subversion, on the other hand, only shows you the commit log for any paths at your cwd or deeper. If you cd into the root of your repo's trunk, svn log may list more of your commits.

  • Maybe the 'less' command is still fired, but it does the right thing if it's in the middle of a pipe.