Have you already purchased a Mac but now decided that you’d like to protect it with AppleCare? Keep reading for how to add the coverage to your Mac within 60 days of purchase, even if you didn’t buy it from Apple.
Workbench: goto the Commit task tab, rightclick on the file, and select Add from the context menu. This will change the status indication of that file into ‘A’ and the filename will turn green. Explorer: select TortoiseHg ‣ Add Files in the context menu. A dialog will open for you to check the selected files and accept the add operation. Have you already purchased a Mac but now decided that you’d like to protect it with AppleCare? Keep reading for how to add the coverage to your Mac within 60 days of purchase, even if you didn.
AppleCare coverage is offered when purchasing a Mac from Apple on its website and in stores, but you can also add it after the fact. Even if you didn’t purchase your Mac from Apple, you can extend your warranty to three years and add physical damage protection within 60 days of your original purchase.
Your Mac will need to be in normal working condition and not damaged to add AppleCare. We’ll cover three ways to add AppleCare below.
If you opt to add AppleCare online or by phone, be sure to have your serial number handy ( → About This Mac). AppleCare for Mac desktops starts at $99, while coverage for Mac notebooks starts at $249. Read more about AppleCare for Mac here.
How to add AppleCare to your Mac after purchase
Online
- Head to Apple’s add AppleCare website
- Choose Mac desktops or Mac notebooks, then enter your serial number or sign in with your Apple ID
- Follow the prompts to purchase AppleCare within 60 days of buying your Mac (you’ll need to complete a remote diagnostic)
By Phone
- Have proof of purchase available for your Mac
- Call Apple Support at 800.275.2273 (800.APL.CARE)
- Ask to add AppleCare to your Mac (you’ll need to complete a remote diagnostic)
In Store
- Head to an Apple Store with your Mac
- You’ll need to complete a visual inspection and have proof of purchase
For more help getting the most out of your Apple devices, check out our how to guide as well as the following articles:
FTC: We use income earning auto affiliate links.More.
Let say I had a feature branch called feature_x
that was worked on, then changesets cherry-picked and transplanted to default, then the branch was closed. Not the best flow, but it's Mercurial, so there is no way of changing the history.
Now I'm going to work again on the feature X, and I feel reusing feature_x
branch would be least confusing. However, if I reopen that branch and merge default
to it, I've got two problems. First merge conflicts, second changes that were modified in that branch, but never merged into default. So what I'd like to have is clean slate, branch feature_x
, but with exact copy of what's currently in the default
. Is there a cleaner way of doing that, than creating new branch which will shadow the name?
I think your best bet is to start a new branch off of the current tip of default
called feature_x2
or feature_y
and leave the past in the past.
But here are some other options:
Is the old
feature_x
branch confined locally to your repo only or was it pushed? If the former, you couldhg strip
it and start the branch again at the currentdefault
.If the
feature_x
name is really, really important, you could do the merge default into it using the internal merge tools and force it to reflect the default branch exactly by doingOr you could just commit a (file system) copy of
default
on top of the tip ofbranch_x
. Then you could continue on that branch along your merry way.
I don't know if 2. or 3. will cause strange merge issues down the road. I would test to see if the merge back over to default (or another graft?) could cause issues later.
Mercurial difference between changesets and revisions
version-control,mercurial
None. From the Understanding Mercurial page: When you commit, the state of the working directory relative to its parents is recorded as a new changeset (also called a new 'revision').. and further down the page: Mercurial groups related changes to multiple files into single atomic changesets, which are revisions of..
Why i can't see new branch in tortoiseHG?
mercurial,tortoisehg
It sounds like you only committed to your local clone of the repository. You have to hg push the commit to the remote repository you originally cloned, if that is the repository the teammate is cloning.
Addremove after branch merge?
command-line,merge,mercurial
hg addremove is usually not needed during merges. Except when you manually add or remove a file during a merge with conflices where the merge is not automatically handled. However personally I don't recommend to use hg addremove anyway, especially in merge cases, as I consider it wiser to add..
Add three versions to a new git repository
git,version-control,merge,versioning,branching-and-merging
Yes: you can git init, add and commit in the live environment, then you can create the relevant branches (still from the live environment where your repo resides): git checkout -b dev git --work-tree=/path/to/dev add . git commit -m 'dev' git checkout master git checkout -b test git --work-tree=/path/to/tes add..
Working with old releases in Git Workflow
git,branching-and-merging,git-workflow
The mentioned work flow does not include the case you mentioned. If the old class does not exist in newer releases, this means that the bug might not even exist as well, so the bugfix should not be propagated to that new releases. Also you don't need to merge it..
ignore certain mercurial commands in mercurial hook
python,mercurial,hook
Unfortunately the answer seems to be no. I just debugged into the hook mechanism of hg 3.1, and the information about which command was issued is not propagated into the hook function. The only way I can think of is to hack something ugly with the debugger api to extract..
Why won't Hg let you push with patches applied?
mercurial,mercurial-queue
You can resolve this issue by making MQ changesets secret. The easiest way to do this is by adding the appropriate setting to your .hgrc, i.e.: [mq] secret = true This will automatically make all mq patches secret. With them secret, you should be able to push the remaining commits..
Mercurial - abandoning loose ends
version-control,mercurial,branch,tortoisehg,branching-and-merging
With TortoiseHg, enable either the strip or mq extension via File, Settings, global settings tab, Extensions. Then right-click the obsolete changeset, Modify History, Strip.. will remove the changeset, assuming it hasn't been pushed yet.
Hg Mercurial - Upgrading code not in repository
version-control,merge,mercurial,tortoisehg
Doing the merge vice versa (your changes into v3.6 might work better. Also make sure that you have selected a reasonable merge tool (internal works, but there are possibly more convenient ones out there, I use kdiff3 myself): I assume you have a repository with v3.5 and on top of..
Mercurial - clone all remote branches at once
version-control,mercurial
If you clone a mercurial repo without any additional arguments, you make a copy of a repository this includes all branches http://selenic.com/hg/help/clone hg clone [OPTION].. SOURCE [DEST] make a copy of an existing repository Create a copy of an existing repository in a new directory. ..
Should I avoid baseless merges in TFS?
tfs,tfs2013,branching-and-merging,baseless-merge
Baseless merges should be avoided if at all possible. When you do a baseless merge, unlike a merge, you are disregarding the history of either side. Indeed you can merge two branches that are totally unrelated, and that can be dangerous. The key is to create a branching strategy that..
Mercurial - merging last three unpushed commits
version-control,merge,mercurial,commit,tortoisehg
You can use the 'histedit' extension for this. To activate it, add the following to your hgrc: [extensions] histedit = If these are the only unpushed changesets, you can use hg histedit --outgoing. Once in the histedit interface, 'fold' will be a useful action for you (it allows combining your..
Remove a revision in TortoiseHG
mercurial,tortoisehg
I find using hg revert -r REV is a much easier approach that using histedit. Don't do this if you have already pushed your changes. Observe that the changesets that are being merged are all 'draft' phases. Update to parent of the first changeset in set of changes you want..
Delete a Subversion branch in Netbeans on MAC 10.8.5
svn,netbeans,branching-and-merging
According to this NetBeans issue (bug 137072) NetBeans does not have a repository browser. Therefore, you should use an external Subversion client for this task (i.e. not the one built-in to NetBeans IDE).
When does a new head is created in a repository?
A new head can be created in three ways: * when you need to use --force on the push command, a new head is created on the repository you push to. Hint: Do never use --force (or its equivalent -f) with push when you do not have to * when..
how to “propertly” not commit changes on mercurial?
version-control,mercurial
You can revert those files. hg revert fileyouwanttorevert otherfileyouwanttorevert
How do I create a deploy git branch for my Yeoman project?
git,deployment,gruntjs,yeoman,branching-and-merging
From the doc of grunt-build-control, the point of the task is that you don't need to worry about it. The task expects a full branch that compiles to a build folder, and will handle the rest for you: building, then commiting the result to a local branch - and then..
How can I commit/push changes to a “live” branch and then keep working on my “test/dev” branch?
version-control,mercurial,tortoisehg,revert
To see the current branch: hg branch (From TortoiseHg Workbench, you see the current branch next to '* Working Directory *' at the top.) To update the working directory to the default branch: hg update default (From TortoiseHg, use Repository --> Update..) Now that you are in the default branch,..
Mercurial get branch name by changeset
mercurial,hg-log
That's.. not what revsets are for. You want to do something rather different: hg log --rev [changeset] --template '{branch}n' See hg help templates..
How do I make a revset alias for tags whose names follow a pattern?
mercurial,mercurial-revsets
I tested the following that works: new($1, $2) = (::'version-' ## $2) - (::'version-' ## $1) For reference $1::$2 won't give you the same thing, it means the revision between $1 and $2 An equivalent revset that I would prefer is: new($1, $2) = only('version-' ## $2, 'version-' ## $1)..
Being given zip archives with .git - how to integrate into own Git repository?
git,bitbucket,git-branch,branching-and-merging
This book assumes no programming background and can be used by first-time computer users or by experienced programmers who are transitioning to C. C for c programmers third edition ira pohl pdf merge. Author by: Al KelleyLanguange: enPublisher by: Addison Wesley Publishing CompanyFormat Available: PDF, ePub, MobiTotal Read: 52Total Download: 485File Size: 48,8 MbDescription: This third edition provides more programming examples and dissections than previous editions. I/o, data types).
Perhaps, Git submodules is what you are looking for. That means, you could integrate that Git repository from your screenshot into your repository like this: Demo setup My project repository is located at: /Users/Me/Desktop/MyProject The iOS game template library you bought is located at: /Users/Me/Desktop/TemplateProject Your repository git init touch..
Change upstream of local (hg-git) clone from (github) original to fork
github,mercurial,hg-git
You need to push via ssh, meaning you need to push via: hg push git+ssh://[email protected]/<login>/<repo> Note the usage of [email protected] instead of your login in the first part of the URL. This actually matters; the server will figure out your credentials via the supplied SSH key. You may also have..
Nginx map client certificate to REMOTE_USER for uWSGI with fallback to basic auth?
ssl,nginx,mercurial,cgi,uwsgi
I see two possible solutions, you can either overwrite the uwsgi_param or use $remote_user a default value for the variable $ssl_client_s_dn_cn. To overwrite the uwsgi_param (this should also work with fastcgi_param), use the map directive as you suggested (just remove the ';' after '}'), and use the if_not_empty parameter for..
Mercurial undo a series of commits
mercurial,revert
Here's what I think you want: hg revert -r GOOD_REVISION_NUMBER --all hg commit -A -m 'reverting back to revision GOOD_REVISION_NUMBER' Once that is committed, as soon as someone pulls from you (or you push to them) they will get the most recent revision containing only the good stuff. If they..
How to merge uncommitted changes in files from one local branch to another using mercurial
Since you stated the files were only changed locally, the following assumes the files were new files: hg add fileone.java filetwo.java hg commit -m 'mini-feature' hg push This will leave filethree.java uncommitted in the working directory. Instead, if you made modifications to files already committed to the repository: hg commit..
How can I repair a repository broken by hg unshelve?
mercurial,unshelve
The following steps solved the problems for me: Use hg debugsetparents to replace the corrupted parent revision number 893e15ecb5b4 with the correct one I had updated to before using unshelve Because the above had left me in a state where Mercurial had forgotten all local changes, I had to use..
What does it mean to “commit” changes to a “local repo”? [duplicate]
git,mercurial
When you modify your code, you are creating changes to a text file. The text file has non memory of when and how you made your changes, it always reflects the latest version. When you tell git that you want to commit changes, git analyses the differences between the text..
How Jenkins is passing username and password credentials for checkout pull operations
jenkins,mercurial,mercurial-extension,maven-scm-plugin,mercurial-keyring
Found the solution: Even when the user (jenkins) had valid WRITE access on the target RhodeCode/Merurial repository and either ~/.hgrc or mercurial_keyring setup wsa configured successfully (i.e. username/password less hg operations after one time manual entry), Maven SCM plugin scm:checkin and scm:tag operation were still failing. The reason for that..
Phantom Mercurial, How to remove?
ubuntu,installation,mercurial,tortoisehg
You can find out where in your path an application exists using the type command like this (when using bash): [email protected]:~$ type -a hg hg is /usr/local/bin/hg It's possible it was installed as a python package in which case the command would be: pip uninstall mercurial but it might just..
Cut off the “desc” at N characters in hg log output with templates
mercurial,hg-log
You can use regular expressions and the sub() function to accomplish that. For example: hg log --template '{sub('^(.{0,50})(. n)*','1',desc)}n' The sub() function takes three arguments, the pattern, the replacement, and the string to be processed. In this example, we use a group that captures anywhere from 0 to 50 characters (except..
Searching for the change history of partial file or path in Mercurial or TortoiseHg
mercurial,tortoisehg,file-search
I can very much advise using the hg help system for this. The most useful pages to look at (in my view): hg help revsets hg help filesets hg help patterns In the page about patterns, you can find about 'path:': To use a plain path name without any pattern..
Paralell branches/clones in Mercurial?
mercurial,bitbucket
There is some missing information here, so I'm not sure I know what your problem is. I'll try to take some educated guesses and cover a number of possibilities. Feel free to ask back if I failed to address your problem adequately. First, you can definitely just create new branches..
Mercurial Queues: How to reorder patches efficiently
mercurial,mercurial-queue
You can use hgtk log to reorder patches like this: ..
Android build fails only in TeamCity server
android,android-studio,mercurial,continuous-integration,teamcity
Finally managed to get an answer to my own question.Some files were kept in the .hgignore folder as a result of which it did not get checked out during TeamCity build.Removing those from the .hgignore folder solved the problem for me.
How to set up default local push path in Mercurial?
You want to use: [paths] default = file:///home/user/myscript/ default-push = file:///home/user/myscript/ ..
Is there a mercurial command which can generate a clone without largefiles?
python,mercurial,large-files
Simply use hg lfconvert --to-normal <old> <new> This will convert the repository in directory <old> to a repository in directory <new> with all large files turned back into normal files. Revision hashes will change, but otherwise, the revision history should remain intact. If you actually want to first strip all..
Git: Why is only 1 merge showing in my history when I have done several?
git,version-control,merge,branch,branching-and-merging
* 54bd96c This is the single time when you commited both in your master branch and a feature branch. A usual merge was used, resulting in this commit: * 19d189f <- Here I merged back in In all other cases you merged a branch, having no commits made to..
How should I add new files when I already have multiple branches
git,branch,git-branch,branching-and-merging
Just add it to your central branch (normally dev or develop) and ask everyone to git merge or git rebase from it, which they are normally meant to be doing regularly anyway.
How can I use a Maven project as a dependency to another Maven project?
java,maven,mercurial
A general advice when using Maven is to use a Maven Repository Manager such as Nexus. In this case Nexus has the addtional benefit that it can host your jars. So I advice to do the following: Configure a CI (e.g. Jenkins) job to build projectA and deploy the JAR..
Can I tell MacHG to use a specific version of Mercurial?
mercurial,machg
Yes, it's documented in the project's source code: Replacing the Mercurial version is fairly trivial. Just replace the version of Mercurial in MacHg/LocalMercurial. Ie replace MacHg/LocalMercurial/mercurial MacHg/LocalMercurial/hgext MacHg/LocalMercurial/mercurial-<version>-py2.6.egg-info With the new version. Be careful to maintain the extensions in hgext which are not in the new version hgext. Eg histedit,..
Mercurial revset selecting up to a bookmark
mercurial,mercurial-revsets
I'm not entirely clear whether you want to squash C and D, creating a new commit C', or whether you want to squash B, C, and D, creating a new commit B', which will keep the original bookmark. For the first: hg rebase -s 'children(bookmark)' -d bookmark --collapse -m <msg>..
Display untracked files in Mercurial commit message
You can use the pre-commit hook to display the results of hg status --unknown - and either fail when there are unknown files or simply display files and use its output to hg add and hg commit --amend to add them to the previous commit when needed.
How to restore deleted unversioned files in mercurial
I'm sorry I'm afraid you can't. If you had committed them, you could have used hg revert to restore the files to their checkout state. But as Mercurial has never heard of these files, it cannot help you. Abarrotes punto de venta eleventa - full crack 2017.
Merging strategy with a long development branch. How to prevent heavy conflicts in the future merge?
git,merge,branch,branching-and-merging,branching-strategy
What I would do is, after making a small change on master, merge master into long project. That way when you merge long project into master, there will be fewer (if any) conflicts.
Why these commands in mercurial create a new head?
version-control,mercurial
Steps 1-5 leave the main and first repositories in the following state, assuming a r1-r3 was the original state of main: Main: r1--r2--r3 First: r1--r2--r3--r4 Steps 6-11 copy first to second, commit something to second, and push it back to main: Main: r1--r2--r3--r4--r5 First: r1--r2--r3--r4 Second: r1--r2--r3--r4--r5 Steps 12-15 go..
Branching and merging Biztalk orchestrations and maps
biztalk,branching-and-merging
Unfortunately, there's no good way to really merge or diff ODX and BTM files. BTM files in particular get rough because they tend to be stored on a single line. ODX files contain plenty of GUIDs that change, as well as designer information that's difficult to merge. This generally means..
How to do hg revert --all with git?
git,mercurial
git read-tree -um @ $thatcommit will do it. That's 'transition the index and worktree from the HEAD aka @ commit to $thatcommit, as for checkout (but without touching HEAD)'. When what you're doing isn't a good match for any of the convenience commands, the core commands have your back :-)..
Mercurial: are pre-commit hooks run for other committing commands than “hg ci”
Yes they do run for these operations: they run for every commit created on the local repo. You can convince yourself that they run with a simple test like: hg graft 10 --config hooks.precommit='echo 'hook ran' It will print hook ran when the hook is called..
Can I use `diff …` as an indicator for branch cleanup?
git,branch,branching-and-merging,git-diff
When git complains about 'not fully merged' it is talking about the relationships of the commits, not about the content of the files. If you have one base commit and on top of this two different commits introducing the same changes, then the diff between both is empty. But nevertheless..