restmorning.blogg.se

Hg unshelve on tortoisehg
Hg unshelve on tortoisehg





  1. #HG UNSHELVE ON TORTOISEHG MAC OS#
  2. #HG UNSHELVE ON TORTOISEHG SOFTWARE#
  3. #HG UNSHELVE ON TORTOISEHG FREE#

special () or len ( h ) > 1 ], ) def refilterpatch ( allchunk, selected ): ''' return unshelved chunks of files to be shelved ''' l = fil = for c in allchunk : if isinstance ( c, header ): if len ( l ) > 1 and l in selected : fil += l l = elif c not in selected : l. append ( chunk ) else : fixoffset += chunk. filename ()) if r = 'y' : if fixoffset : chunk = copy. pretty ( ui ) r = prompt ( _ ( 'shelve this change to %r ?' ) % chunk. allhunks (): applied += consumefile () else : consumefile () else : if resp_file is None and resp_all is None : chunk. files ()))) if r = 'y' : applied = if chunk. pretty ( ui ) r = prompt ( _ ( 'shelve changes to %s ?' ) % _ ( ' and ' ).

hg unshelve on tortoisehg

header ) if hdr in seen : consumefile () continue seen = True if resp_all is None : chunk. pop () if isinstance ( chunk, header ): resp_file = fixoffset = 0 hdr = ''. Now just run: hg unshelve -force The rejected hunks will be ignored (you still get the. Other shelve extensions dont use the same store as tortoisehg. hgrc (or mercurial.ini for windows users): extensions This is a shelve extension bundled with tortoisehg. Abort ( _ ( 'user quit' )) return r while chunks : chunk = chunks. No need to feel silly any more, just add this in. strip ()), ' \n ' ) continue elif r = 's' : r = resp_file = 'n' elif r = 'f' : r = resp_file = 'y' elif r = 'd' : r = resp_all = 'n' elif r = 'a' : r = resp_all = 'y' elif r = 'q' : raise util. find ( 'y - shelve this change' ) for l in shelve. compile ( -(\d+),(\d+) \+(\d+),(\d+) ) def internalpatch ( patchobj, ui, strip, cwd, files = def prompt ( query ): if resp_all is not None : return resp_all if resp_file is not None : return resp_file while True : r = ( ui. '''interactive change selection to set aside that may be restored later''' import copy import cStringIO import errno import operator import os import re import shutil import tempfile from mercurial import cmdutil, commands, cmdutil, hg, mdiff, patch, revlog from mercurial import util, fancyopts from 18n import _ from tortoisehg.util import hglib lines_re = re.

#HG UNSHELVE ON TORTOISEHG SOFTWARE#

In June 2020, TortoiseHg moved off of bitbucket when they stopped hosting mercurial projects, and found a new home with heptapod.# hgshelve.py - TortoiseHg dialog to initialize a repo # Copyright 2007 Bryan O'Sullivan # Copyright 2007 TK Soh # Copyright 2009 Steve Borho # This software may be used and distributed according to the terms of the # GNU General Public License version 2, incorporated herein by reference. TortoiseHg can be used as a client to a git server.

#HG UNSHELVE ON TORTOISEHG FREE#

It is free software released under the GNU General Public License.

  • Intuitive GUI for managing Mercurial settings.
  • #HG UNSHELVE ON TORTOISEHG MAC OS#

  • Seamless support for serving a repository via Mercurial's integrated web interface. TortoiseHg is a GUI front-end for Mercurial that runs on Microsoft Windows (on which it integrates directly with File Explorer 2 ), Mac OS X, 3 and Linux.
  • It is often recommended and preferred for working with Mercurial on Windows.

    hg unshelve on tortoisehg

    It is written in PyQt (except the Windows shell extension), and the underlying client can be used on the command line.

    hg unshelve on tortoisehg

    TortoiseHg is a GUI front-end for Mercurial that runs on Microsoft Windows (on which it integrates directly with File Explorer ), Mac OS X, and Linux. net /mercurial /tortoisehg /thg /- /wikis /home 3 January 2023 4 months ago ( 3 January 2023)įoss.







    Hg unshelve on tortoisehg