|
|
| New - Gracefully handle WC format bump
(to 9) for Subversion 1.5 |

|
2007-10-09 13:13:46 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
Issue #|2961
Summary|Gracefully handle WC format bump
(to 9) for Subversion
| 1.5
Component|subversion
Version|trunk
Platform|All
URL|http://subversion.tigris.org/servlets/ReadMsg?listName
|=dev&msgNo=130643
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|TASK
Priority|P1
Subcomponent|libsvn_wc
Assigned to|dlr
Reported by|dlr
------- Additional comments from dlr tigris.org Tue Oct 9
11:13:45 -0700 2007 -------
This thread describes the problem:
http://subversion.tigris.org/servlets
/ReadMsg?listName=dev&msgNo=130643
In summary, we've introduced several new pieces of WC meta
data in the entries
file for Subversion 1.5, including the following fields:
- changelist
- keep-local
- depth
The first two fields -- if present -- would experience data
loss when a 1.4
client is used on a WC written by a 1.5 client. The depth
field (and its
usage's impact on a WC), however, will actually
"corrupt" a WC for 1.4 client.
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-09 15:55:42 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
User dlr changed the following:
What ld value
|New value
============================================================
====================
Status|NEW |STARTED
------------------------------------------------------------
--------------------
------- Additional comments from dlr tigris.org Tue Oct 9
13:55:41 -0700 2007 -------
In r27055, I've committed a new script to trunk,
tools/client-side/change-svn-wc-format.py. This script
allows users to revert
the auto-upgrade of their WC format by a Subversion 1.5
client (or
vice-versa, update it back to format 9). Example usage:
change-svn-wc-format.py WC_PATH SVN_VERSION [--verbose]
[--force]
This script currently only changes the format number
(without
re-writing the .svn/entries file), relying on the behavior
of a
Subversion 1.4 client to ignore unknown fields in entry
records in an
entries file, and silently drop these fields when re-writing
the
entries file.
This approach was discussed on IRC, and subsequently
suggested on the dev list
by markphip:
Date: Fri, 5 Oct 2007 19:47:42 -0400
From: Mark Phippard <markphip gmail.com>
Subject: We should bump WC format version number for 1.5.
Message-ID:
<ff892c5d0710051647i3841aa44g7bd5d05ea990f117 mail.gmail.com>
http://subversion.tigris.org/servlets/Rea
dMsg?list=dev&msgNo=130788
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 01:16:07 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
------- Additional comments from kfogel tigris.org Tue Oct 9 23:16:07 -0700 2007 -------
I came to this issue to take ownership, and found it owned
by you, Dan. If
you're taking the Subversion side of this as well as the
script side, great!
But if not, let me know.
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 01:23:54 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
User dlr changed the following:
What ld value
|New value
============================================================
====================
Attachment data| |Created
an attachment (id=
| |751)
Patch for libsvn_wc/w
| |c.h
------------------------------------------------------------
--------------------
------- Additional comments from dlr tigris.org Tue Oct 9
23:23:54 -0700 2007 -------
Created an attachment (id=751)
Patch for libsvn_wc/wc.h
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 01:28:47 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
------- Additional comments from kfogel tigris.org Tue Oct 9 23:28:47 -0700 2007 -------
Some notes on The Plan, from IRC just now:
<dlr> kfogel: I only kinda started on the core
library patch for
issue #2961. I've attached the tiny patch to the
issue.
<kfogel> dlr: looking
<dlr> I'm guessing that we need to add some actual
upgrade logic as
well.
<kfogel> dlr: I've still been toying with the idea of
"on-demand
bump", that is, only when one of the nasty
features is used.
<kfogel> But with your script, maybe it's okay to just
upgrade
unconditionally?
<dlr> yup
<kfogel> (the on-demand strategy was controversial
even without your
script)
<kfogel> One thing I want to do is make sure the
script is referenced
in any version-mismatch error message between 8 and
9.
<kfogel> oh
<kfogel> wait
<kfogel> too late for that, since it's a 1.4 client
that would get the
error
<kfogel> heh
<kfogel> So, we should make a generic page for such
notices now, and
have 1.5 refer to the page, in case we have
*future* downgrade
scripts.
<kfogel> I'll transcribe this all into the issue.
<dlr> sounds good
<kfogel> ok
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 13:17:43 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
User kfogel changed the following:
What ld value
|New value
============================================================
====================
Assigned to|dlr |kfogel
------------------------------------------------------------
--------------------
Status|STARTED |NEW
------------------------------------------------------------
--------------------
------- Additional comments from kfogel tigris.org Wed Oct 10 11:17:43 -0700 2007 -------
Take from dlr, with his permission.
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 22:22:56 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
User kfogel changed the following:
What ld value
|New value
============================================================
====================
Status|NEW |STARTED
------------------------------------------------------------
--------------------
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|
| Gracefully handle WC format bump (to
9) for Subversion 1.5 |

|
2007-10-10 23:25:18 |
http://subversion.tigris.org/issues/show_bug.cgi?id=2961
User kfogel changed the following:
What ld value
|New value
============================================================
====================
Status|STARTED
|RESOLVED
------------------------------------------------------------
--------------------
Resolution| |FIXED
------------------------------------------------------------
--------------------
------- Additional comments from kfogel tigris.org Wed Oct 10 21:25:18 -0700 2007 -------
Fixed in r27103.
------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribe subversion.tigris.org
For additional commands, e-mail: issues-help subversion.tigris.org
|
|