#63 Specifying end tag only does not work for SVN

closed
nobody
None
5
2008-07-05
2007-02-22
Anonymous
No

When creating a new topic from an SVN repository selecting an end tag only produces an error.

I want to do a complete code review from the start of the repository up to a known tag (e.g. the latest one).
Subsequent reviews can then be done from the end tag specified to the new latest version.

Discussion

  • Logged In: NO

    Sorry, contact email martyn.west @t exabre.com

     
  • Westy
    Westy
    2007-02-22

    Logged In: YES
    user_id=1726066
    Originator: NO

    Have signed up now :O)

     
  • Westy
    Westy
    2007-02-22

    Logged In: YES
    user_id=1726066
    Originator: NO

    Error message is: Syntax error in revision argument ':1840'

    Likewise if you only specify a start tag you get: Syntax error in revision argument '1:'

    Can the revision tag be a single version?

     
  • Westy
    Westy
    2007-02-22

    Logged In: YES
    user_id=1726066
    Originator: NO

    Ahh, I see.
    Had a little play around with the code and think I know what's going on...

    The CVS version "diffs" with the special 1.0 tag (i.e. before the repository was created) to get a unified diff of all files in the directory. Don't think this is possible with svn.exe

    I guess it'd have to be done "longhand".
    Possibly by getting all files under the dir (svn list?), then doing an svn cat of each one (and adding the unified diff information).

    What a pain. Would be a killer thing to have though.
    I think I'm going to have to go through the pain of uploading and reviewing every file one at a time...

    Who said reviewing was fun?! :OP

     
  • Logged In: YES
    user_id=324736
    Originator: NO

    Subversion needs both revisions to be specified so I think you have to specify your range as 0:1840 or 1:HEAD

     
  • Tom Denley
    Tom Denley
    2007-10-23

    Logged In: YES
    user_id=1592797
    Originator: NO

    If I'm reading this correctly, it is impossible to create a codestriker topic for the first version of a file in a Subversion repository. That seems just a little bit crazy to me. Is any body looking at improving this at the moment? Perhaps the priority needs raising.

     
  • David Sitsky
    David Sitsky
    2007-10-23

    Logged In: YES
    user_id=208928
    Originator: NO

    No - that's not true. Think about what svn diff command you need to execute in order to produce the topic text you want to review. You can always review the first versions of files quite happily, you just need to select your start (just before the file existed) and end repository numbers correctly.

     
  • Logged In: NO

    No - you must be talking about running an svn diff on the directory, as you can't svn diff a specific file from a revision before it existed.

    If I check ten new files in, as one change set, but I only want to review one of them, then I'm stuck.

     
  • David Sitsky
    David Sitsky
    2007-10-24

    Logged In: YES
    user_id=208928
    Originator: NO

    Yes - that is subversion for you. I wonder if there is some trick to make this work..

    Can you not produce the diff file of the new file before checking it in?

    Cheers,
    David

     
  • David Sitsky
    David Sitsky
    2008-07-05

    • status: open --> closed
     
  • David Sitsky
    David Sitsky
    2008-07-05

    Logged In: YES
    user_id=208928
    Originator: NO

    This is now supported for release 1.9.5, so closing this off.