#12324: Fix upgrading of root repository
----------------------------------+-----------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-5.3
Component: scripts | Resolution:
Keywords: root upgrade | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Description changed by jdemeyer:
Old description:
> On sage-devel, there are occasional complaints about the failure to
> upgrade because of uncommitted files in the root repository. We should
> address these. The culprit is in the script sage-update, and in
> particular the lines
> {{{
> #!python
> if root_repo_intact:
> P = subprocess.Popen('hg status', shell=True,
> stdout=subprocess.PIPE)
> output = P.communicate()[0]
> if len(output) > 0: # uncommitted changes
> print ("There are uncommitted changes in the "
> + "Sage root repository. Aborting.")
> sys.exit(2)
> }}}
> We could delete these lines altogether, or change 'hg status' to 'hg
> status -m' or something like that. If we delete this altogether, perhaps
> the root repo's spkg-install file (SAGE_ROOT/spkg/root-spkg-install)
> should deal with uncommitted changes.
New description:
On sage-devel, there are occasional complaints about the failure to
upgrade because of uncommitted files in the root repository. We should
address these. The culprit is in the script sage-update, and in
particular the lines
{{{
#!python
if root_repo_intact:
P = subprocess.Popen('hg status', shell=True,
stdout=subprocess.PIPE)
output = P.communicate()[0]
if len(output) > 0: # uncommitted changes
print ("There are uncommitted changes in the "
+ "Sage root repository. Aborting.")
sys.exit(2)
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12324#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.