hgsubversion | 12 Aug 17:09 2014

3 new revisions pushed by durin42 on 2014-08-12 15:08 GMT

3 new revisions:

Revision: 46523cdfd3b0
Branch:   stable
Author:   David Schleimer <dschleimer@...>
Date:     Fri Aug  8 02:30:26 2014 UTC
Log:      pushmod: prepend "link " to base text for links...
http://code.google.com/p/hgsubversion/source/detail?r=46523cdfd3b0

Revision: 807c443928d4
Branch:   stable
Author:   Augie Fackler <raf@...>
Date:     Tue Aug 12 15:08:09 2014 UTC
Log:      Added tag 1.6.3 for changeset 46523cdfd3b0
http://code.google.com/p/hgsubversion/source/detail?r=807c443928d4

Revision: 5c2917375961
Branch:   default
Author:   Augie Fackler <raf@...>
Date:     Tue Aug 12 15:08:41 2014 UTC
Log:      Merge with stable.
http://code.google.com/p/hgsubversion/source/detail?r=5c2917375961

==============================================================================
Revision: 46523cdfd3b0
Branch:   stable
Author:   David Schleimer <dschleimer@...>
Date:     Fri Aug  8 02:30:26 2014 UTC
Log:      pushmod: prepend "link " to base text for links

(Continue reading)

David Schleimer | 11 Aug 01:19 2014

[PATCH] pushmod: prepend "link " to base text for links

# HG changeset patch
# User David Schleimer <dschleimer@...>
# Date 1407465026 25200
#      Thu Aug 07 19:30:26 2014 -0700
# Node ID a688afa3a84c1a84b91fbe8c6254b890fbabe037
# Parent  9490a30529358456e47cf7c3e1f0322ecf93724e
pushmod: prepend "link " to base text for links

http://svn.apache.org/viewvc?view=revision&revision=1223036 exposes
what is arguably a bug in hgsubversion push code.  Specifically, when
we are receiving text from the server in an editor, we prepend a "link
" to the text of symlinks when opening a file and strip it when
closing a file.  We don't, however, prepend "link " to the base we use
when sending text changes to the server.

This was working before because prior to that revision, the first
thing subversion did was to check whether the entirety of the before
text or the entirety of the after text was less than 64 bytes.  In
that case, it just sent the entirety of the after text as a single
insert operation.  I'd expect most, but not all symlinks to fit under
the 64 byte limit, including the leading "link " text on the
subversion end.

After the change, the first thing subversion does is check for a
leading match that is more than 4 bytes long, or that is the full
length of the after text.  In this case, it sends a copy operation for
the leading match, and then goes into the if < 64 bytes remaining send
the whole thing behavior.  It also looks for trailing matches of more
than 4 bytes even in the <64 byte case, but that's not what breaks the
tests.
(Continue reading)

hgsubversion | 1 Aug 15:48 2014

11 new revisions pushed by durin42 on 2014-08-01 13:47 GMT

11 new revisions:

Revision: 68e6927fa387
Branch:   stable
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:53:49 2014 UTC
Log:      compathacks: add wrapper for memfilectx
http://code.google.com/p/hgsubversion/source/detail?r=68e6927fa387

Revision: 656718fdd3be
Branch:   stable
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:09:11 2014 UTC
Log:      svnmeta: call makememfilectx
http://code.google.com/p/hgsubversion/source/detail?r=656718fdd3be

Revision: 02f886e59ae6
Branch:   stable
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:09:44 2014 UTC
Log:      replay: call makememfilectx
http://code.google.com/p/hgsubversion/source/detail?r=02f886e59ae6

Revision: f87502fd4d65
Branch:   stable
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:09:35 2014 UTC
Log:      stupid: call makememfilectx
http://code.google.com/p/hgsubversion/source/detail?r=f87502fd4d65

(Continue reading)

Sean Farley | 31 Jul 19:34 2014
Picon

Breakage with Subversion 1.8

Together with Augie, I was able to find the reason for a mysterious test
failure with newer versions of subversion. If you have subversion >=
1.8, you can see the failure with:

$ cd /path/to/hgsubversion
$ nosetests -x tests/test_push_command.py

After some painstaking bisection of the subversion source tree, the
following commit is the first where it breaks: r1223036. The previous
revision is ok (r1223035). The change is located here:

http://svn.apache.org/viewvc?view=revision&revision=1223036

There's a lot of churn in that patch so I was hoping someone here could
make some sense of it and why it makes the test in hgsubversion fail.

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.

hgsubversion | 24 Jul 17:07 2014

11 new revisions pushed by durin42 on 2014-07-24 15:06 GMT

11 new revisions:

Revision: 9fc3557ce85e
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      svnmeta: turn authors into a lazy property
http://code.google.com/p/hgsubversion/source/detail?r=9fc3557ce85e

Revision: 54d42e59b29c
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:47 2014 UTC
Log:      maps: load commandline tagmap in __init__...
http://code.google.com/p/hgsubversion/source/detail?r=54d42e59b29c

Revision: 20c28c511551
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:47 2014 UTC
Log:      svnmeta: turn tagmap into a lazy property
http://code.google.com/p/hgsubversion/source/detail?r=20c28c511551

Revision: a0c6dbd9afbb
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:47 2014 UTC
Log:      maps: change tagmap to initialize with an svnmeta object...
http://code.google.com/p/hgsubversion/source/detail?r=a0c6dbd9afbb

(Continue reading)

Sean Farley | 24 Jul 00:38 2014
Picon

[PATCH 01 of 11] svnmeta: turn authors into a lazy property

# HG changeset patch
# User Sean Farley <sean.michael.farley@...>
# Date 1395678046 18000
#      Mon Mar 24 11:20:46 2014 -0500
# Node ID b68a97d57857c035658aeda6bcc15772758149b8
# Parent  aa8b72bd1320a4a339fb2b43868df520edce7528
svnmeta: turn authors into a lazy property

diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
 <at>  <at>  -49,11 +49,11  <at>  <at>  class SVNMeta(object):
         self._tags = None
         self._layout = layouts.detect.layout_from_file(self.metapath,
                                                        ui=self.repo.ui)
         self._layoutobj = None

-        self.authors = maps.AuthorMap(self)
+        self._authors = None

         self.branchmap = maps.BranchMap(self.ui, self.branchmap_file)
         if branchmap:
             self.branchmap.load(branchmap)

 <at>  <at>  -230,10 +230,16  <at>  <at>  class SVNMeta(object):
      <at> property
     def authors_file(self):
         return os.path.join(self.metapath, 'authors')

      <at> property
(Continue reading)

hgsubversion | 16 Jul 21:22 2014

10 new revisions pushed by durin42 on 2014-07-16 19:21 GMT

10 new revisions:

Revision: 1414cdafa7af
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Jun  2 21:31:54 2014 UTC
Log:      svnmeta: explicitly test for None...
http://code.google.com/p/hgsubversion/source/detail?r=1414cdafa7af

Revision: b1a6edc78bfb
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:53:49 2014 UTC
Log:      compathacks: add wrapper for memfilectx
http://code.google.com/p/hgsubversion/source/detail?r=b1a6edc78bfb

Revision: 955f7173e498
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:09:11 2014 UTC
Log:      svnmeta: call makememfilectx
http://code.google.com/p/hgsubversion/source/detail?r=955f7173e498

Revision: 4b6b101474e6
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Tue Jun  3 00:09:44 2014 UTC
Log:      replay: call makememfilectx
http://code.google.com/p/hgsubversion/source/detail?r=4b6b101474e6

(Continue reading)

Sean Farley | 16 Jul 01:35 2014
Picon

[PATCH 1 of 9] svnmeta: explicitly test for None

# HG changeset patch
# User Sean Farley <sean.michael.farley@...>
# Date 1401744714 18000
#      Mon Jun 02 16:31:54 2014 -0500
# Node ID 776cbc353ccce5f540a7b960870145d8a991dd38
# Parent  87837284917582689a552de2a7bc4dede3dbfe75
svnmeta: explicitly test for None

There was a slight error in the way we were checking the value of 'c' via 'if
c'. If the type of 'c' is a bool then this could incorrectly be false. Instead,
we check for None explicitly. Nothing in production should have been affected
by this yet since this was only a problem with patches not yet released.

diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
 <at>  <at>  -101,11 +101,11  <at>  <at>  class SVNMeta(object):

             # load the value from disk
             val = util.load(f, default=default)

             # prefer the non-default, and the one sent from command-line
-            if c and c != val and c != default:
+            if c is not None and c != val and c != default:
                 val = c

             # set the value as the one from disk (or default if not found)
             setattr(self, varname, val)

--

-- 
(Continue reading)

Sean Farley | 17 Jun 00:00 2014
Picon

[PATCH 1 of 9] svnmeta: explicitly test for None

# HG changeset patch
# User Sean Farley <sean.michael.farley@...>
# Date 1401744714 18000
#      Mon Jun 02 16:31:54 2014 -0500
# Node ID 776cbc353ccce5f540a7b960870145d8a991dd38
# Parent  87837284917582689a552de2a7bc4dede3dbfe75
svnmeta: explicitly test for None

There was a slight error in the way we were checking the value of 'c' via 'if
c'. If the type of 'c' is a bool then this could incorrectly be false. Instead,
we check for None explicitly. Nothing in production should have been affected
by this yet since this was only a problem with patches not yet released.

diff --git a/hgsubversion/svnmeta.py b/hgsubversion/svnmeta.py
--- a/hgsubversion/svnmeta.py
+++ b/hgsubversion/svnmeta.py
 <at>  <at>  -101,11 +101,11  <at>  <at>  class SVNMeta(object):

             # load the value from disk
             val = util.load(f, default=default)

             # prefer the non-default, and the one sent from command-line
-            if c and c != val and c != default:
+            if c is not None and c != val and c != default:
                 val = c

             # set the value as the one from disk (or default if not found)
             setattr(self, varname, val)

--

-- 
(Continue reading)

stephanie.lyne.legault | 27 May 21:26 2014
Picon

Re: hgsubversion build issues on MacOsX - subvertpy won't build

Thanks Augie, this set me on the right path. I re-installed subersion17 through brew using the --with-python install option. But that wasn't quite enough. A googling brought up this result:


where you also have to add the bindings to the Python install. After doing both these things, I was able to build hgsubversion properly. 

I'm attempting my first clone, and it seems to be working (fingers crossed!) It's definitely going better than the last time, when I built against subversion 1.8.

--
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to hgsubversion-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.
hgsubversion | 26 May 02:31 2014

9 new revisions pushed by durin42 on 2014-05-26 00:31 GMT

9 new revisions:

Revision: 38dd8721fb0d
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      maps: remove trailing whitespace
http://code.google.com/p/hgsubversion/source/detail?r=38dd8721fb0d

Revision: 0ef719f4c371
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add defaultauthors property
http://code.google.com/p/hgsubversion/source/detail?r=0ef719f4c371

Revision: 5df842451d7e
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add caseignoreauthors property
http://code.google.com/p/hgsubversion/source/detail?r=5df842451d7e

Revision: f0d5c03a71b9
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add defaulthost property
http://code.google.com/p/hgsubversion/source/detail?r=f0d5c03a71b9

Revision: 23a845fbfc6a
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      svnmeta: use generator for usebranchnames property
http://code.google.com/p/hgsubversion/source/detail?r=23a845fbfc6a

Revision: a55339d35066
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: load commandline authormap in __init__...
http://code.google.com/p/hgsubversion/source/detail?r=a55339d35066

Revision: 49791c40a8a5
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: change authormap to initialize with an svnmeta object...
http://code.google.com/p/hgsubversion/source/detail?r=49791c40a8a5

Revision: a5641006e338
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: use meta.defaultauthors intead of accessing ui directly
http://code.google.com/p/hgsubversion/source/detail?r=a5641006e338

Revision: 878372849175
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: use meta.caseignoreauthors intead of accessing ui directly
http://code.google.com/p/hgsubversion/source/detail?r=878372849175

==============================================================================
Revision: 38dd8721fb0d
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      maps: remove trailing whitespace
http://code.google.com/p/hgsubversion/source/detail?r=38dd8721fb0d

Modified:
  /hgsubversion/maps.py

==============================================================================
Revision: 0ef719f4c371
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add defaultauthors property
http://code.google.com/p/hgsubversion/source/detail?r=0ef719f4c371

Modified:
  /hgsubversion/svnmeta.py

==============================================================================
Revision: 5df842451d7e
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add caseignoreauthors property
http://code.google.com/p/hgsubversion/source/detail?r=5df842451d7e

Modified:
  /hgsubversion/svnmeta.py

==============================================================================
Revision: f0d5c03a71b9
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:45 2014 UTC
Log:      svnmeta: add defaulthost property
http://code.google.com/p/hgsubversion/source/detail?r=f0d5c03a71b9

Modified:
  /hgsubversion/svnmeta.py

==============================================================================
Revision: 23a845fbfc6a
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      svnmeta: use generator for usebranchnames property
http://code.google.com/p/hgsubversion/source/detail?r=23a845fbfc6a

Modified:
  /hgsubversion/svnmeta.py

==============================================================================
Revision: a55339d35066
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: load commandline authormap in __init__

Funcationally, this is the same as before but consolidates the logic to its  
own
object so we later refactor all the map objects to inherit from a common  
base
object.
http://code.google.com/p/hgsubversion/source/detail?r=a55339d35066

Modified:
  /hgsubversion/maps.py
  /hgsubversion/svnmeta.py

==============================================================================
Revision: 49791c40a8a5
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: change authormap to initialize with an svnmeta object

This refactoring will help us break AuthorMaps access of global options via
ui.config allowing us to use svnmeta as the central store for reading and
writing configuration options.
http://code.google.com/p/hgsubversion/source/detail?r=49791c40a8a5

Modified:
  /hgsubversion/maps.py
  /hgsubversion/svnmeta.py
  /tests/test_fetch_mappings.py

==============================================================================
Revision: a5641006e338
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: use meta.defaultauthors intead of accessing ui directly
http://code.google.com/p/hgsubversion/source/detail?r=a5641006e338

Modified:
  /hgsubversion/maps.py

==============================================================================
Revision: 878372849175
Branch:   default
Author:   Sean Farley <sean.michael.farley@...>
Date:     Mon Mar 24 16:20:46 2014 UTC
Log:      maps: use meta.caseignoreauthors intead of accessing ui directly
http://code.google.com/p/hgsubversion/source/detail?r=878372849175

Modified:
  /hgsubversion/maps.py

--

-- 
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hgsubversion+unsubscribe@...
To post to this group, send email to hgsubversion@...
Visit this group at http://groups.google.com/group/hgsubversion.
For more options, visit https://groups.google.com/d/optout.


Gmane