Changeset 1605


Ignore:
Timestamp:
Jul 13, 2020, 2:03:58 AM (3 years ago)
Author:
Peter Johansson
Message:

Changeset r1604 introduced a bug parsing left-open rev regions (e.g. -42) in that the implicit 0 was added (0-42). This fixes that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.10-stable/lib/SVNproperty.cc

    r1604 r1605  
    44  Copyright (C) 2006 Jari Häkkinen
    55  Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
    6   Copyright (C) 2010, 2011, 2012 Peter Johansson
     6  Copyright (C) 2010, 2011, 2012, 2020 Peter Johansson
    77
    88  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    9898      std::string first;
    9999      getline(ss2, first, '-');
     100      bool found_dash = word.size()>first.size() && word[first.size()]=='-';
    100101      trim(first);
    101102      std::string second;
    102       bool found_dash = getline(ss2, second).good();
     103      getline(ss2, second);
    103104      trim(second);
    104105      yat::utility::Segment<svn_revnum_t> rev_interval;
Note: See TracChangeset for help on using the changeset viewer.